From ea26d08301d39cda4750e3dc5007665cdeb6a97b Mon Sep 17 00:00:00 2001 From: hulamy Date: Fri, 23 Sep 2022 20:22:35 +0200 Subject: [PATCH] wordpress alpine added php7-iconv --- Makefile | 2 +- README.md | 2 ++ srcs/.env | 8 ++++---- srcs/requirements/wordpress/Dockerfile | 1 + 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 00547f6..8edd2a7 100644 --- a/Makefile +++ b/Makefile @@ -48,7 +48,7 @@ build: $(SUDO) docker-compose -f $(COMPOSE) build up: $(VOLUMES_D) - $(SUDO) docker-compose -f $(COMPOSE) up -d + $(SUDO) docker-compose -f $(COMPOSE) up # list images, containers, volumes list: diff --git a/README.md b/README.md index 7ce0ff9..58ec9ee 100644 --- a/README.md +++ b/README.md @@ -230,4 +230,6 @@ sudo / find -type s - [cli commands](https://developer.wordpress.org/cli/commands/) - [cli install wordpress](https://make.wordpress.org/cli/handbook/how-to-install/) - `/wp-admin` +- [alias localhost](https://stackoverflow.com/questions/19425086/alias-hostname-for-localhost) +- `sudo /etc/hosts` -> `127.0.0.1 hulamy.42.fr` diff --git a/srcs/.env b/srcs/.env index cd011b5..1c6b75a 100644 --- a/srcs/.env +++ b/srcs/.env @@ -17,10 +17,10 @@ WP_DIR=/var/www/html WP_URL=hulamy.42.fr WP_TITLE=title -WP_ADMIN=admin +WP_ADMIN=hulamy WP_ADMIN_PSWD="you shall not password !" -WP_ADMIN_EMAIL=admin@email.fr +WP_ADMIN_EMAIL=hulamy@42.fr -WP_USER=user +WP_USER=moehu36 WP_USER_PSWD="it's a secret for nobody" -WP_USER_EMAIL=user@email.fr +WP_USER_EMAIL=moehu36@42.fr diff --git a/srcs/requirements/wordpress/Dockerfile b/srcs/requirements/wordpress/Dockerfile index d30c637..0683619 100644 --- a/srcs/requirements/wordpress/Dockerfile +++ b/srcs/requirements/wordpress/Dockerfile @@ -29,6 +29,7 @@ php7-mysqli \ php7-phar \ php7-json \ + php7-iconv \ mariadb-client \ curl \ bash vim