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

@@ -6,10 +6,10 @@ wp core download --path="${WP_DIR}" --allow-root
# create config file :
wp config create \
--dbhost=mariadb \
--dbhost="${DB_HOST}" \
--dbname="${DB_NAME}" \
--dbuser="${DB_USER}" \
--dbpass="${DB_PASS}" \
--dbpass="${DB_PSWD}" \
--path="${WP_DIR}" --allow-root
# install wordpress :
@@ -32,5 +32,5 @@ wp user create \
chown -R www-data:www-data /var/www/*
chmod 755 -R /var/www/*
exec ${PHP_VERSION} -FR
exec "${PHP_VERSION}" -FR