This repository was archived by the owner on Jan 12, 2022. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33version : ' 3.6'
44
5- x-linux- logging :
5+ x-logging :
66 &common-logging
77 driver : " ${LOG_DRIVER}"
8- options :
9- tag : " {{.ImageName}}/{{.Name}}/{{.ID}}"
8+
9+ x-secopts :
10+ &sec-opts
11+ security_opt :
12+ - label:disable
13+
1014
1115services :
1216 nginx-php-moodle :
@@ -15,6 +19,7 @@ services:
1519 mail :
1620 image : ${DOCKER_REGISTRY_URL}/nginx-php-moodle:latest
1721 logging : *common-logging
22+ << : *sec-opts
1823 depends_on :
1924 - postfix
2025 - postgres
@@ -68,11 +73,13 @@ services:
6873 POSTFIX_SASL_AUTH :
6974 POSTFIX_TLS :
7075 logging : *common-logging
76+ << : *sec-opts
7177 postgres :
7278 networks :
7379 db :
7480 image : ${DOCKER_REGISTRY_URL}/postgres:9.6
7581 logging : *common-logging
82+ << : *sec-opts
7683 environment :
7784 POSTGRES_DB : " ${PGSQL_DATABASE}"
7885 POSTGRES_USER : " ${PGSQL_USER}"
@@ -92,16 +99,19 @@ services:
9299 POSTGRES_USER : " ${PGSQL_USER}"
93100 POSTGRES_DB : " ${PGSQL_DATABASE}"
94101 DUMPPREFIX : " backup"
95- POSTGRES_HOST : " db "
102+ POSTGRES_HOST : " postgres "
96103 POSTGRES_PORT : " 5432"
97104 logging : *common-logging
105+ << : *sec-opts
106+ command : /bin/true
98107 networks :
99108 db :
100109 certbot :
101110 networks :
102111 certbot :
103112 image : ${DOCKER_REGISTRY_URL}/sc-certbot:latest
104113 logging : *common-logging
114+ << : *sec-opts
105115 depends_on :
106116 - nginx-php-moodle
107117 environment :
You can’t perform that action at this time.
0 commit comments