Ajout dépendance à db

This commit is contained in:
Navas 2022-08-06 12:05:09 +02:00
parent de815b2b23
commit 6a607ce5d9

View file

@ -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"