-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenv.yml
91 lines (81 loc) · 2.12 KB
/
env.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
version: "2.0"
projectname: deploytest
defaults:
instance: &default-instance
project:
src:
env_variables: &default-src-env
DB_HOST: host.docker.internal:33068
DOTENV_VALID: 1
WP_ENV: production
BIGDB_HOST: host.docker.internal
build_variables: &default-build-env
<<: *default-src-env
DB_HOST: '${MYSQL_HOST}:3306'
docker_server: &default-docker-server
target_server: production-server
db:
mysql:
version: 8
postgresql:
version: 13
vhosts:
web: &vhost-web
app_service: wp-nginx
app_service_port: 8443
mail: &vhost-mailhog
app_service: wp-mailhog
app_service_port: 8025
app_service_ssl: false
env_variables:
SSHD_ENABLED: 0
USER_UID: 111
USER_GID: 115
PHP_INI_TEMPLATE: production
remove_services:
- wp-db
- wp-nodejs
- wp-bigdb
cleanup:
build:
- configs/nginx-server.conf
- docker-compose.yml
deploy:
exclude:
- runtime
instances:
test:
<<: *default-instance
project:
src:
env_variables: &production-env-vars
<<: *default-src-env
WP_ENV: production
WP_HOME: 'https://server.tst'
build_variables:
<<: *production-env-vars
DB_HOST: '${MYSQL_HOST}:3306'
docker_server:
<<: *default-docker-server
target_server: azcs15
vhosts:
web:
<<: *vhost-web
domain_name: server.tst
#https: certbot
https: selfsigned
fake_robots: no
basic_auth: 'no'
mail:
<<: *vhost-mailhog
fake_robots: yes
https: selfsigned
basic_auth: 'no'
basic_auth_user: test
basic_auth_password: test
domain_name: mailserver.com
docker_services_static_ip:
network: 111.12.3.0/24
services:
- wp-nginx: 111.12.3.100
- wp-mailhog: 111.12.3.105