Plus complet
This commit is contained in:
@@ -12,6 +12,8 @@ services:
|
||||
WORDPRESS_DB_USER: wp_iade_user
|
||||
WORDPRESS_DB_PASSWORD: --__GalereGalere@tutu54
|
||||
WORDPRESS_DB_NAME: wp_db
|
||||
volumes:
|
||||
- wp_iade-lyon_wordpress_html:/var/www/html/wp-content
|
||||
|
||||
db:
|
||||
image: mariadb:10
|
||||
@@ -22,5 +24,14 @@ services:
|
||||
MYSQL_USER: wp_iade_user
|
||||
MYSQL_PASSWORD: --__GalereGalere@tutu54
|
||||
MYSQL_ROOT_PASSWORD: Coucoucketchou-+_123789
|
||||
volumes:
|
||||
- wp_iade-lyon_wordpress_db:/var/lib/mysql
|
||||
volumes:
|
||||
- wp_iade-lyon_wordpress_db:/var/lib/mysql
|
||||
|
||||
volumes:
|
||||
- wp_iade-lyon_wordpress_db
|
||||
- wp_iade-lyon_wordpress_html
|
||||
# Documentation MariaDB
|
||||
# https://hub.docker.com/_/mariadb
|
||||
#
|
||||
# Restore
|
||||
# docker exec -i some-mariadb sh -c 'exec mysql -uroot -p"$MYSQL_ROOT_PASSWORD"' < /some/path/on/your/host/all-databases.sql
|
||||
Reference in New Issue
Block a user