Plus complet
This commit is contained in:
@@ -12,6 +12,8 @@ services:
|
|||||||
WORDPRESS_DB_USER: wp_iade_user
|
WORDPRESS_DB_USER: wp_iade_user
|
||||||
WORDPRESS_DB_PASSWORD: --__GalereGalere@tutu54
|
WORDPRESS_DB_PASSWORD: --__GalereGalere@tutu54
|
||||||
WORDPRESS_DB_NAME: wp_db
|
WORDPRESS_DB_NAME: wp_db
|
||||||
|
volumes:
|
||||||
|
- wp_iade-lyon_wordpress_html:/var/www/html/wp-content
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: mariadb:10
|
image: mariadb:10
|
||||||
@@ -24,3 +26,12 @@ services:
|
|||||||
MYSQL_ROOT_PASSWORD: Coucoucketchou-+_123789
|
MYSQL_ROOT_PASSWORD: Coucoucketchou-+_123789
|
||||||
volumes:
|
volumes:
|
||||||
- wp_iade-lyon_wordpress_db:/var/lib/mysql
|
- 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