Correction chemin docker-compose
This commit is contained in:
parent
6a607ce5d9
commit
94dffdcf33
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue