From ec697780b5bb277d8245a4376138ab8da78d2995 Mon Sep 17 00:00:00 2001 From: Cold-Egg Date: Thu, 19 Dec 2019 12:16:37 -0500 Subject: [PATCH] readme --- .env | 2 +- .travis.yml | 6 ++++++ README.md | 11 ++++++++++- config/litespeed/1.5.10wp/Dockerfile | 2 +- docker-compose.yml | 2 ++ 5 files changed, 20 insertions(+), 3 deletions(-) diff --git a/.env b/.env index 0601cc4..b69fabe 100644 --- a/.env +++ b/.env @@ -1,6 +1,6 @@ LITESPEED=1.5.10wp -WEB_ADMIN=123456 +WEB_ADMIN_PASSWORD=123456 MYSQL_DATABASE=wordpress MYSQL_ROOT_PASSWORD=password diff --git a/.travis.yml b/.travis.yml index 0e8a14f..c82ed06 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,10 @@ language: bash + +notifications: + email: + on_success: never + on_failure: always + services: - docker diff --git a/README.md b/README.md index 9a6c97a..7eb8dfe 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,7 @@ Running with daemon mode ``` docker-compose up -d ``` +Running with start method ``` docker-compose start ``` @@ -57,4 +58,12 @@ docker-compose down ### Adminer (formerly phpMinAdmin) You can also visit http://127.0.0.1:8080 to access Data Base after starting the containers. -The default username is root, and the password is the same as supplied in the .env file. \ No newline at end of file +The default username is root, and the password is the same as supplied in the .env file. + +## Support & Feedback +If you still have a question after using OpenLiteSpeed Docker, you have a few options. +* Join [the GoLiteSpeed Slack community](litespeedtech.com/slack) for real-time discussion +* Post to [the OpenLiteSpeed Forums](https://forum.openlitespeed.org/) for community support +* Reporting any issue on [Github ols-docker-env](https://github.com/litespeedtech/ols-docker-env/issues) project + +**Pull requests are always welcome** \ No newline at end of file diff --git a/config/litespeed/1.5.10wp/Dockerfile b/config/litespeed/1.5.10wp/Dockerfile index 28d9f03..518d681 100644 --- a/config/litespeed/1.5.10wp/Dockerfile +++ b/config/litespeed/1.5.10wp/Dockerfile @@ -9,7 +9,7 @@ RUN apt-get update && apt-get install -y wget && \ apt-get install -y curl mysql-client \ lsphp73 lsphp73-mysql lsphp73-opcache lsphp73-curl -RUN echo "admin:$(/usr/local/lsws/admin/fcgi-bin/admin_php* -q /usr/local/lsws/admin/misc/htpasswd.php ${WEB_ADMIN})" \ +RUN echo "admin:$(/usr/local/lsws/admin/fcgi-bin/admin_php* -q /usr/local/lsws/admin/misc/htpasswd.php ${WEB_ADMIN_PASSWORD})" \ > /usr/local/lsws/admin/conf/htpasswd EXPOSE 7080 diff --git a/docker-compose.yml b/docker-compose.yml index ea46610..ccdd4b3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -22,6 +22,8 @@ services: - 80:80 - 443:443 - 7080:7080 + environment: + - WEB_ADMIN_PASSWORD=${WEB_ADMIN_PASSWORD} restart: always adminer: image: dockette/adminer:full