Ajout dépendance à db
This commit is contained in:
parent
de815b2b23
commit
6a607ce5d9
1 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,8 @@ services:
|
||||||
WORDPRESS_DB_NAME: "{{ docker_wordpress_db_name }}"
|
WORDPRESS_DB_NAME: "{{ docker_wordpress_db_name }}"
|
||||||
volumes:
|
volumes:
|
||||||
- /data1/{{ docker_wordpress_service_id }}/wp_html:/var/www/html
|
- /data1/{{ docker_wordpress_service_id }}/wp_html:/var/www/html
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.docker.network=traefik"
|
- "traefik.docker.network=traefik"
|
||||||
|
|
Loading…
Reference in a new issue