OSP adding 'depends_on' to app container.

This commit is contained in:
Alexey Skobkin 2020-04-16 01:02:02 +03:00
parent 7cf31b0990
commit aa34cb9f42
No known key found for this signature in database
GPG key ID: 5D5CEF6F221278E7

View file

@ -22,6 +22,8 @@ services:
- "${STORAGE_DIR}:/var/www" - "${STORAGE_DIR}:/var/www"
- "${DATABASE_DIR}:/opt/osp/db" - "${DATABASE_DIR}:/opt/osp/db"
- "${NGINX_DIR}:/usr/local/nginx/conf" - "${NGINX_DIR}:/usr/local/nginx/conf"
depends_on:
- redis
restart: unless-stopped restart: unless-stopped
logging: logging:
driver: "json-file" driver: "json-file"