33# This is a base compose file, it should be extended with a
44# docker-compose.ci.*.yml file
55services :
6-
76 fullstack :
87 image : " ${IMAGE}:${BRANCH_LOWER}-ci-${BUILD_NUMBER}"
98 environment :
109 TZ : " ${TZ:-Australia/Brisbane}"
11- DEBUG : ' true'
12- CI : ' true'
10+ DEBUG : " true"
11+ CI : " true"
1312 FORCE_COLOR : 1
1413 # Required for DNS Certificate provisioning in CI
15- LE_SERVER : ' https://ca.internal/acme/acme/directory'
16- REQUESTS_CA_BUNDLE : ' /etc/ssl/certs/NginxProxyManager.crt'
14+ LE_SERVER : " https://ca.internal/acme/acme/directory"
15+ REQUESTS_CA_BUNDLE : " /etc/ssl/certs/NginxProxyManager.crt"
1716 volumes :
18- - ' npm_data_ci:/data'
19- - ' npm_le_ci:/etc/letsencrypt'
20- - ' ./dev/letsencrypt.ini:/etc/letsencrypt.ini:ro'
21- - ' ./dev/resolv.conf:/etc/resolv.conf:ro'
22- - ' /etc/localtime:/etc/localtime:ro'
17+ - " npm_data_ci:/data"
18+ - " npm_le_ci:/etc/letsencrypt"
19+ - " ./dev/letsencrypt.ini:/etc/letsencrypt.ini:ro"
20+ - " ./dev/resolv.conf:/etc/resolv.conf:ro"
21+ - " /etc/localtime:/etc/localtime:ro"
2322 healthcheck :
2423 test : ["CMD", "/usr/bin/check-health"]
2524 interval : 10s
2625 timeout : 3s
2726 expose :
28- - ' 80-81/tcp'
29- - ' 443/tcp'
30- - ' 1500-1503/tcp'
27+ - " 80-81/tcp"
28+ - " 443/tcp"
29+ - " 1500-1503/tcp"
3130 networks :
3231 fulltest :
3332 aliases :
@@ -38,8 +37,8 @@ services:
3837 stepca :
3938 image : jc21/testca
4039 volumes :
41- - ' ./dev/resolv.conf:/etc/resolv.conf:ro'
42- - ' /etc/localtime:/etc/localtime:ro'
40+ - " ./dev/resolv.conf:/etc/resolv.conf:ro"
41+ - " /etc/localtime:/etc/localtime:ro"
4342 networks :
4443 fulltest :
4544 aliases :
@@ -48,18 +47,18 @@ services:
4847 pdns :
4948 image : pschiffe/pdns-mysql:4.8
5049 volumes :
51- - ' /etc/localtime:/etc/localtime:ro'
50+ - " /etc/localtime:/etc/localtime:ro"
5251 environment :
53- PDNS_master : ' yes'
54- PDNS_api : ' yes'
55- PDNS_api_key : ' npm'
56- PDNS_webserver : ' yes'
57- PDNS_webserver_address : ' 0.0.0.0'
58- PDNS_webserver_password : ' npm'
59- PDNS_webserver-allow-from : ' 127.0.0.0/8,192.0.0.0/8,10.0.0.0/8,172.0.0.0/8'
60- PDNS_version_string : ' anonymous'
52+ PDNS_master : " yes"
53+ PDNS_api : " yes"
54+ PDNS_api_key : " npm"
55+ PDNS_webserver : " yes"
56+ PDNS_webserver_address : " 0.0.0.0"
57+ PDNS_webserver_password : " npm"
58+ PDNS_webserver-allow-from : " 127.0.0.0/8,192.0.0.0/8,10.0.0.0/8,172.0.0.0/8"
59+ PDNS_version_string : " anonymous"
6160 PDNS_default_ttl : 1500
62- PDNS_allow_axfr_ips : ' 127.0.0.0/8,192.0.0.0/8,10.0.0.0/8,172.0.0.0/8'
61+ PDNS_allow_axfr_ips : " 127.0.0.0/8,192.0.0.0/8,10.0.0.0/8,172.0.0.0/8"
6362 PDNS_gmysql_host : pdns-db
6463 PDNS_gmysql_port : 3306
6564 PDNS_gmysql_user : pdns
@@ -76,14 +75,14 @@ services:
7675 pdns-db :
7776 image : mariadb
7877 environment :
79- MYSQL_ROOT_PASSWORD : ' pdns'
80- MYSQL_DATABASE : ' pdns'
81- MYSQL_USER : ' pdns'
82- MYSQL_PASSWORD : ' pdns'
78+ MYSQL_ROOT_PASSWORD : " pdns"
79+ MYSQL_DATABASE : " pdns"
80+ MYSQL_USER : " pdns"
81+ MYSQL_PASSWORD : " pdns"
8382 volumes :
84- - ' pdns_mysql_vol:/var/lib/mysql'
85- - ' /etc/localtime:/etc/localtime:ro'
86- - ' ./dev/pdns-db.sql:/docker-entrypoint-initdb.d/01_init.sql:ro'
83+ - " pdns_mysql_vol:/var/lib/mysql"
84+ - " /etc/localtime:/etc/localtime:ro"
85+ - " ./dev/pdns-db.sql:/docker-entrypoint-initdb.d/01_init.sql:ro"
8786 networks :
8887 - fulltest
8988
@@ -100,22 +99,22 @@ services:
10099 context : ../
101100 dockerfile : test/cypress/Dockerfile
102101 environment :
103- HTTP_PROXY : ' squid:3128'
104- HTTPS_PROXY : ' squid:3128'
102+ HTTP_PROXY : " squid:3128"
103+ HTTPS_PROXY : " squid:3128"
105104 volumes :
106- - ' cypress_logs:/test/results'
107- - ' ./dev/resolv.conf:/etc/resolv.conf:ro'
108- - ' /etc/localtime:/etc/localtime:ro'
105+ - " cypress_logs:/test/results"
106+ - " ./dev/resolv.conf:/etc/resolv.conf:ro"
107+ - " /etc/localtime:/etc/localtime:ro"
109108 command : cypress run --browser chrome --config-file=cypress/config/ci.js
110109 networks :
111110 - fulltest
112111
113112 squid :
114113 image : ubuntu/squid
115114 volumes :
116- - ' ./dev/squid.conf:/etc/squid/squid.conf:ro'
117- - ' ./dev/resolv.conf:/etc/resolv.conf:ro'
118- - ' /etc/localtime:/etc/localtime:ro'
115+ - " ./dev/squid.conf:/etc/squid/squid.conf:ro"
116+ - " ./dev/resolv.conf:/etc/resolv.conf:ro"
117+ - " /etc/localtime:/etc/localtime:ro"
119118 networks :
120119 - fulltest
121120
0 commit comments