add depends_on and restart directives

This commit is contained in:
2017-04-13 14:32:56 +02:00
committed by root
parent 617c06a951
commit ce04def0d5
+4
View File
@@ -9,6 +9,8 @@ services:
- "8888"
links:
- "tt.nc_mysql_db"
depends_on:
- "tt.nc_mysql_db"
external_links:
- "tt.front"
volumes:
@@ -25,6 +27,7 @@ services:
- DB_HOST=tt.nc_mysql_db
- TZ=Europe/Paris
- DOMAIN=files.talentstube.io
restart: always
# https://hub.docker.com/_/mysql/
tt.nc_mysql_db:
@@ -37,3 +40,4 @@ services:
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- MYSQL_PASSWORD=*u;8k7W<V6n/(Qa9
restart: always