add depends_on and restart directives
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user