pushokku/doc/pushokku-v3.yml

62 lines
966 B
YAML
Raw Permalink Normal View History

2020-04-10 21:42:06 +00:00
---
version: "3"
hosts:
- name: local
localhost: {}
- name: testing
ssh:
user: debian
host: shiva-ratri.infra.boldcode.io
endpoints:
# Local endpoints
- name: local-wp-image
host: local
docker_image:
name: sans-a-site-v2-wordpress_wordpress
- name: local-db-dump
host: local
mysql_dump:
path: database.sql
- name: local-db-script
host: local
script:
path: .pushokku/post-update.sh
# Remote endpoints
- name: remote-wp-app
host: testing
dokku_app:
name: customer-sans-a-site
- name: remote-wp-db
host: testing
dokku_mariadb:
name: customer-sans-a-wpsandbox
filters:
- name: compress
2020-04-11 19:39:33 +00:00
dual:
cmd_in: gzip -
cmd_out: gunzip -
2020-04-10 21:42:06 +00:00
deployments:
2020-04-10 22:10:35 +00:00
- transfer:
2020-04-11 19:39:33 +00:00
src: local-wp-image
dest: remote-wp-app
2020-04-10 21:42:06 +00:00
2020-04-10 22:10:35 +00:00
- transfer:
2020-04-11 19:39:33 +00:00
src: local-db-dump
dest: remote-wp-db
2020-04-10 21:42:06 +00:00
- run:
2020-04-11 19:39:33 +00:00
src: local-db-script
dest: remote-wp-app