wordpress works now with :

+ volumes in mariadb container
+ db pswd in quotes
+ somes other settings
This commit is contained in:
hugo gogo
2022-09-21 18:10:03 +02:00
parent ef8ce69dad
commit 0603616d3e
9 changed files with 108 additions and 81 deletions

View File

@@ -1,5 +1,5 @@
USE mysql;
CREATE DATABASE IF NOT EXISTS ${DB_NAME};
CREATE USER IF NOT EXISTS '${DB_USER}'@'localhost' IDENTIFIED BY '${DB_PSWD}';
GRANT ALL PRIVILEGES ON ${DB_NAME}.* TO '${DB_USER}'@'localhost' with grant option;
CREATE USER IF NOT EXISTS '${DB_USER}'@'%' IDENTIFIED BY '${DB_PSWD}';
GRANT ALL PRIVILEGES ON ${DB_NAME}.* TO '${DB_USER}'@'%' with grant option;