Correction chemin docker-compose

This commit is contained in:
Navas 2023-01-09 22:09:19 +01:00
parent 6a607ce5d9
commit 94dffdcf33

View file

@ -12,7 +12,7 @@ services:
WORDPRESS_DB_PASSWORD: "{{ docker_wordpress_db_password }}"
WORDPRESS_DB_NAME: "{{ docker_wordpress_db_name }}"
volumes:
- /data1/{{ docker_wordpress_service_id }}/wp_html:/var/www/html
- {{ docker_wordpress_data_dir }}/{{ docker_wordpress_service_id }}/wp_html:/var/www/html
depends_on:
- db
labels:
@ -29,7 +29,7 @@ services:
image: mariadb:10.8.2-rc-focal
restart: always
volumes:
- {{ docker_wordpress_data_dir }}/data1/{{ docker_wordpress_service_id }}/mysql:/var/lib/mysql
- {{ docker_wordpress_data_dir }}/{{ docker_wordpress_service_id }}/mysql:/var/lib/mysql
environment:
# genere un mdp root et l'affiche au demarrage sur stdout
MARIADB_RANDOM_ROOT_PASSWORD: "yes"