master
Cold-Egg 5 years ago
parent b13df69782
commit ec697780b5

@ -1,6 +1,6 @@
LITESPEED=1.5.10wp LITESPEED=1.5.10wp
WEB_ADMIN=123456 WEB_ADMIN_PASSWORD=123456
MYSQL_DATABASE=wordpress MYSQL_DATABASE=wordpress
MYSQL_ROOT_PASSWORD=password MYSQL_ROOT_PASSWORD=password

@ -1,4 +1,10 @@
language: bash language: bash
notifications:
email:
on_success: never
on_failure: always
services: services:
- docker - docker

@ -40,6 +40,7 @@ Running with daemon mode
``` ```
docker-compose up -d docker-compose up -d
``` ```
Running with start method
``` ```
docker-compose start docker-compose start
``` ```
@ -58,3 +59,11 @@ docker-compose down
You can also visit http://127.0.0.1:8080 to access Data Base after starting the containers. 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. 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**

@ -9,7 +9,7 @@ RUN apt-get update && apt-get install -y wget && \
apt-get install -y curl mysql-client \ apt-get install -y curl mysql-client \
lsphp73 lsphp73-mysql lsphp73-opcache lsphp73-curl 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 > /usr/local/lsws/admin/conf/htpasswd
EXPOSE 7080 EXPOSE 7080

@ -22,6 +22,8 @@ services:
- 80:80 - 80:80
- 443:443 - 443:443
- 7080:7080 - 7080:7080
environment:
- WEB_ADMIN_PASSWORD=${WEB_ADMIN_PASSWORD}
restart: always restart: always
adminer: adminer:
image: dockette/adminer:full image: dockette/adminer:full

Loading…
Cancel
Save