mariadb and nginx works both with debian and alpine
+ makefile a little clean up
This commit is contained in:
@@ -4,6 +4,10 @@
|
||||
mkdir -p ${WP_DIR}
|
||||
wp core download --path="${WP_DIR}" --allow-root
|
||||
|
||||
# mariadb --execute="CREATE DATABASE ${DB_NAME};" && \
|
||||
# mariadb --execute="CREATE USER '${DB_USER}'@'localhost' IDENTIFIED BY '${DB_PSWD}';" && \
|
||||
# mariadb --execute="GRANT ALL PRIVILEGES ON ${DB_NAME}.* TO '${DB_USER}'@'localhost' with grant option;"
|
||||
|
||||
## create config file :
|
||||
wp config create \
|
||||
--dbhost=mariadb \
|
||||
|
||||
Reference in New Issue
Block a user