Skip to content

Commit b65acba

Browse files
committed
modified: README.md
modified: bin/container/appinstallctl.sh modified: docker-compose.yml
1 parent e84dcb9 commit b65acba

File tree

3 files changed

+16
-9
lines changed

3 files changed

+16
-9
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ The docker image installs the following packages on your system:
3434
| :-------------: | :-------------: |
3535
|Linux|Ubuntu 24.04|
3636
|LiteSpeed|[Latest version](https://www.litespeedtech.com/products/litespeed-web-server/download)|
37-
|MariaDB|[Stable version: 10.4](https://hub.docker.com/_/mariadb)|
37+
|MariaDB|[Stable version: 10.6](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)|
4141
|Magento2|[2.4.7](https://devdocs.magento.com/guides/v2.4/release-notes/open-source-2-4-2.html)|
42-
|elasticsearch|[8.4.2](https://hub.docker.com/_/elasticsearch)|
42+
|elasticsearch|[7.9.1](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/)|
4545

bin/container/appinstallctl.sh

+1
Original file line numberDiff line numberDiff line change
@@ -727,6 +727,7 @@ install_magento(){
727727
--timezone=America/Chicago \
728728
--use-rewrites=1 \
729729
--backend-frontname=${MA_BACK_URL} \
730+
--search-engine=elasticsearch7 \
730731
--elasticsearch-host=elasticsearch \
731732
--elasticsearch-port=9200
732733
./bin/magento config:set web/unsecure/base_url http://${DOMAIN}/

docker-compose.yml

+13-7
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
1-
version: '3'
21
services:
32
mysql:
4-
image: mariadb:10.4
3+
image: mariadb:10.6
54
command: --max_allowed_packet=256M --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
65
volumes:
76
- "./data/db:/var/lib/mysql:delegated"
8-
ports:
9-
- "3306:3306"
107
environment:
118
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
129
MYSQL_DATABASE: ${MYSQL_DATABASE}
1310
MYSQL_USER: ${MYSQL_USER}
1411
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
15-
restart: always
12+
restart: always
13+
networks:
14+
- default
1615
litespeed:
1716
image: litespeedtech/litespeed:${LSWS_VERSION}-${PHP_VERSION}
1817
env_file:
@@ -32,6 +31,8 @@ services:
3231
restart: always
3332
environment:
3433
TZ: ${TimeZone}
34+
networks:
35+
- default
3536
phpmyadmin:
3637
image: bitnami/phpmyadmin:5.2.0-debian-11-r43
3738
ports:
@@ -48,6 +49,11 @@ services:
4849
- 9200:9200
4950
volumes:
5051
- esdata:/usr/share/elasticsearch/data
51-
restart: always
52+
restart: always
53+
networks:
54+
- default
5255
volumes:
53-
esdata:
56+
esdata:
57+
networks:
58+
default:
59+
driver: bridge

0 commit comments

Comments
 (0)