Compare commits

..

No commits in common. 'aeafac6022a400a2aae26aa779c1a7398d5b087b' and 'd7a0906ac7b5c5d4a20a1ac011e023eee80db312' have entirely different histories.

@ -1,6 +1,6 @@
TimeZone=America/New_York
OLS_VERSION=1.7.16
PHP_VERSION=lsphp81
OLS_VERSION=1.7.15
PHP_VERSION=lsphp80
MYSQL_DATABASE=wordpress
MYSQL_ROOT_PASSWORD=password
MYSQL_USER=wordpress

@ -4,7 +4,7 @@
[<img src="https://img.shields.io/badge/slack-LiteSpeed-blue.svg?logo=slack">](litespeedtech.com/slack)
[<img src="https://img.shields.io/twitter/follow/litespeedtech.svg?label=Follow&style=social">](https://twitter.com/litespeedtech)
Install a lightweight WordPress container with OpenLiteSpeed Edge or Stable version based on Ubuntu 22.04 Linux.
Install a lightweight WordPress container with OpenLiteSpeed Edge or Stable version based on Ubuntu 18.04 Linux.
### Prerequisites
1. [Install Docker](https://www.docker.com/)
@ -31,7 +31,7 @@ The docker image installs the following packages on your system:
|Component|Version|
| :-------------: | :-------------: |
|Linux|Ubuntu 22.04|
|Linux|Ubuntu 20.04|
|OpenLiteSpeed|[Latest version](https://openlitespeed.org/downloads/)|
|MariaDB|[Stable version: 10.5](https://hub.docker.com/_/mariadb)|
|PHP|[Latest version](http://rpms.litespeedtech.com/debian/)|
@ -139,19 +139,6 @@ Use the root domain in this command, and it will check for a certificate and aut
```
./bin/acme.sh [-D, --domain] example.com
```
Other parameters:
* [`-r`, `--renew`]: Renew a specific domain with -D or --domain parameter if posibile. To force renew, use -f parameter.
* [`-R`, `--renew-all`]: Renew all domains if possible. To force renew, use -f parameter.
* [`-f`, `-F`, `--force`]: Force renew for a specific domain or all domains.
* [`-v`, `--revoke`]: Revoke a domain.
* [`-V`, `--remove`]: Remove a domain.
### Update Web Server
To upgrade the web server to latest stable version, run the following:
```

@ -140,7 +140,6 @@ disable_modsec(){
install_git(){
if [ ! -f /usr/bin/git ]; then
echo 'Install git'
apt update >/dev/null 2>&1
apt-get install git -y >/dev/null 2>&1
fi
}

@ -13,8 +13,6 @@ services:
MYSQL_USER: ${MYSQL_USER}
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
restart: always
networks:
- default
litespeed:
image: litespeedtech/openlitespeed:${OLS_VERSION}-${PHP_VERSION}
logging:
@ -36,18 +34,13 @@ services:
restart: always
environment:
TZ: ${TimeZone}
networks:
- default
phpmyadmin:
image: bitnami/phpmyadmin:5.2.0-debian-11-r43
image: bitnami/phpmyadmin:5.0.2-debian-10-r72
logging:
driver: none
ports:
- 8080:8080
- 8443:8443
- 8080:80
- 8443:443
environment:
DATABASE_HOST: mysql
DATABASE_HOST: mysql
restart: always
networks:
- default
networks:
default:
driver: bridge
Loading…
Cancel
Save