wordpress works now with :
+ volumes in mariadb container + db pswd in quotes + somes other settings
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user