Skip to content

Commit e84dcb9

Browse files
committed
modified: .env
modified: .github/workflows/docker.yml modified: README.md modified: bin/container/appinstallctl.sh
1 parent 2b4e0b4 commit e84dcb9

File tree

4 files changed

+11
-18
lines changed

4 files changed

+11
-18
lines changed

.env

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
TimeZone=America/New_York
2-
LSWS_VERSION=6.0.12
3-
PHP_VERSION=lsphp81
2+
LSWS_VERSION=6.3.1
3+
PHP_VERSION=lsphp83
44
MYSQL_DATABASE=magento
55
MYSQL_ROOT_PASSWORD=password
66
MYSQL_USER=magento

.github/workflows/docker.yml

+4-11
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,15 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v2
17-
- name: IP
18-
run: curl ifconfig.me
19-
#- name: ip range
20-
# run: |
21-
# curl \
22-
# -H "Accept: application/vnd.github.v3+json" \
23-
# https://api.github.com/meta
2417
- name: Setup
2518
run: |
26-
docker-compose -v
27-
docker-compose up -d
19+
docker compose version
20+
docker compose up -d
2821
docker image ls
2922
sleep 10
3023
- name: Verify
3124
run: bash .travis/verify.sh
3225
- name: Clean up
3326
run: |
34-
docker-compose stop
35-
docker-compose rm -f
27+
docker compose stop
28+
docker compose rm -f

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ The docker image installs the following packages on your system:
3232

3333
|Component|Version|
3434
| :-------------: | :-------------: |
35-
|Linux|Ubuntu 22.04|
35+
|Linux|Ubuntu 24.04|
3636
|LiteSpeed|[Latest version](https://www.litespeedtech.com/products/litespeed-web-server/download)|
3737
|MariaDB|[Stable version: 10.4](https://hub.docker.com/_/mariadb)|
3838
|PHP|[Latest version](http://rpms.litespeedtech.com/debian/)|
3939
|LiteSpeed Cache|[Latest from WordPress.org](https://wordpress.org/plugins/litespeed-cache/)|
4040
|ACME|[Latest from ACME official](https://github.com/acmesh-official/get.acme.sh)|
41-
|Magento2|[2.4.5](https://devdocs.magento.com/guides/v2.4/release-notes/open-source-2-4-2.html)|
41+
|Magento2|[2.4.7](https://devdocs.magento.com/guides/v2.4/release-notes/open-source-2-4-2.html)|
4242
|elasticsearch|[8.4.2](https://hub.docker.com/_/elasticsearch)|
4343
|WordPress|[Latest from WordPress](https://wordpress.org/download/)|
4444
|phpMyAdmin|[Latest from dockerhub](https://hub.docker.com/r/bitnami/phpmyadmin/)|
@@ -200,12 +200,12 @@ bash bin/webadmin.sh [-S, --serial] TRIAL
200200
After installation, you can use phpMinAdmin to access the database by visiting http://127.0.0.1:8080 or https://127.0.0.1:8443. The default username is `root`, and the password is the same as the one you supplied in the `.env` file.
201201

202202
## Customization
203-
If you want to customize the image by adding some packages, e.g. `lsphp74-pspell`, just extend it with a Dockerfile.
203+
If you want to customize the image by adding some packages, e.g. `lsphp83-pspell`, just extend it with a Dockerfile.
204204
1. We can create a `custom` folder and a `custom/Dockerfile` file under the main project.
205205
2. Add the following example code to `Dockerfile` under the custom folder
206206
```
207207
FROM litespeedtech/litespeed:latest
208-
RUN apt-get update && apt-get install lsphp74-pspell
208+
RUN apt-get update && apt-get install lsphp83-pspell
209209
```
210210
3. Add `build: ./custom` line under the "image: litespeedtech" of docker-composefile. So it will looks like this
211211
```

bin/container/appinstallctl.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ PLUGINLIST="litespeed-cache.zip"
1313
THEME='twentytwenty'
1414
LSDIR='/usr/local/lsws'
1515
MA_COMPOSER='/usr/local/bin/composer'
16-
MA_VER='2.4.5'
16+
MA_VER='2.4.7'
1717
EMAIL='test@example.com'
1818
APP_ACCT=''
1919
APP_PASS=''

0 commit comments

Comments
 (0)