|
@@ -1,9 +1,10 @@
|
|
-version: '2.1'
|
|
|
|
|
|
+version: '2.2'
|
|
|
|
|
|
services:
|
|
services:
|
|
www:
|
|
www:
|
|
build: www
|
|
build: www
|
|
image: desec/dedyn-www:latest
|
|
image: desec/dedyn-www:latest
|
|
|
|
+ init: true
|
|
ports:
|
|
ports:
|
|
- "80:80"
|
|
- "80:80"
|
|
- "443:443"
|
|
- "443:443"
|
|
@@ -31,6 +32,7 @@ services:
|
|
static:
|
|
static:
|
|
build: static
|
|
build: static
|
|
image: desec/dedyn-static:latest
|
|
image: desec/dedyn-static:latest
|
|
|
|
+ init: true
|
|
networks:
|
|
networks:
|
|
- rearwww
|
|
- rearwww
|
|
logging:
|
|
logging:
|
|
@@ -42,6 +44,7 @@ services:
|
|
dbapi:
|
|
dbapi:
|
|
build: dbapi
|
|
build: dbapi
|
|
image: desec/dedyn-dbapi:latest
|
|
image: desec/dedyn-dbapi:latest
|
|
|
|
+ init: true
|
|
volumes:
|
|
volumes:
|
|
- dbapi_mysql:/var/lib/mysql
|
|
- dbapi_mysql:/var/lib/mysql
|
|
environment:
|
|
environment:
|
|
@@ -58,6 +61,7 @@ services:
|
|
dblord:
|
|
dblord:
|
|
build: dblord
|
|
build: dblord
|
|
image: desec/dedyn-dblord:latest
|
|
image: desec/dedyn-dblord:latest
|
|
|
|
+ init: true
|
|
volumes:
|
|
volumes:
|
|
- dblord_mysql:/var/lib/mysql
|
|
- dblord_mysql:/var/lib/mysql
|
|
environment:
|
|
environment:
|
|
@@ -74,6 +78,7 @@ services:
|
|
dbmaster:
|
|
dbmaster:
|
|
build: dbmaster
|
|
build: dbmaster
|
|
image: desec/dedyn-dbmaster:latest
|
|
image: desec/dedyn-dbmaster:latest
|
|
|
|
+ init: true
|
|
ports:
|
|
ports:
|
|
- "${DESECSTACK_DBMASTER_PORT:-3306}:3306"
|
|
- "${DESECSTACK_DBMASTER_PORT:-3306}:3306"
|
|
volumes:
|
|
volumes:
|
|
@@ -97,6 +102,7 @@ services:
|
|
api:
|
|
api:
|
|
build: api
|
|
build: api
|
|
image: desec/dedyn-api:latest
|
|
image: desec/dedyn-api:latest
|
|
|
|
+ init: true
|
|
depends_on:
|
|
depends_on:
|
|
- dbapi
|
|
- dbapi
|
|
- nslord
|
|
- nslord
|
|
@@ -131,6 +137,7 @@ services:
|
|
nslord:
|
|
nslord:
|
|
build: nslord
|
|
build: nslord
|
|
image: desec/dedyn-nslord:latest
|
|
image: desec/dedyn-nslord:latest
|
|
|
|
+ init: true
|
|
environment:
|
|
environment:
|
|
- DESECSTACK_IPV4_REAR_PREFIX16
|
|
- DESECSTACK_IPV4_REAR_PREFIX16
|
|
- DESECSTACK_DBLORD_PASSWORD_pdns
|
|
- DESECSTACK_DBLORD_PASSWORD_pdns
|
|
@@ -153,6 +160,7 @@ services:
|
|
nsmaster:
|
|
nsmaster:
|
|
build: nsmaster
|
|
build: nsmaster
|
|
image: desec/dedyn-nsmaster:latest
|
|
image: desec/dedyn-nsmaster:latest
|
|
|
|
+ init: true
|
|
environment:
|
|
environment:
|
|
- DESECSTACK_IPV4_REAR_PREFIX16
|
|
- DESECSTACK_IPV4_REAR_PREFIX16
|
|
- DESECSTACK_DBMASTER_PASSWORD_pdns
|
|
- DESECSTACK_DBMASTER_PASSWORD_pdns
|