cleanup main docker-compose exemple
This commit is contained in:
parent
2eaa4724ce
commit
25323bd198
1 changed files with 4 additions and 3 deletions
|
@ -1,4 +1,5 @@
|
||||||
# jcpd/docker-dotclear:latest
|
# Docker compose file exemple for latest Dotclear release.
|
||||||
|
# Using docker volumes and 2 containers, one for blog web server and one for the database
|
||||||
volumes:
|
volumes:
|
||||||
dc_app:
|
dc_app:
|
||||||
dc_db:
|
dc_db:
|
||||||
|
@ -32,8 +33,8 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- 80:80
|
- 80:80
|
||||||
depends_on:
|
depends_on:
|
||||||
dc_db: # MYSQL database service
|
dc_db:
|
||||||
condition: service_healthy # Waiting for database ready
|
condition: service_healthy
|
||||||
environment:
|
environment:
|
||||||
DC_DBDRIVER: mysqlimb4
|
DC_DBDRIVER: mysqlimb4
|
||||||
DC_DBHOST: dc_db
|
DC_DBHOST: dc_db
|
||||||
|
|
Loading…
Reference in a new issue