2023-11-03 15:09:13 +08:00
|
|
|
services:
|
|
|
|
litespeed:
|
|
|
|
container_name: ${CONTAINER_NAME}
|
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
- 1panel-network
|
|
|
|
volumes:
|
|
|
|
- ./data/lsws/conf:/usr/local/lsws/conf
|
|
|
|
- ./data/lsws/admin-conf:/usr/local/lsws/admin/conf
|
|
|
|
- ./data/bin/container:/usr/local/bin
|
|
|
|
- ./data/sites:/var/www/vhosts/
|
|
|
|
- ./data/acme:/root/.acme.sh/
|
|
|
|
- ./data/logs:/usr/local/lsws/logs/
|
|
|
|
ports:
|
2023-11-03 21:55:22 +08:00
|
|
|
- "${PANEL_APP_PORT_HTTP_80}:80"
|
2023-11-03 15:09:13 +08:00
|
|
|
- "${PANEL_APP_PORT_HTTPS}:443"
|
|
|
|
- "${PANEL_APP_PORT_HTTPS}:443/udp"
|
2023-11-03 21:55:22 +08:00
|
|
|
- "${PANEL_APP_PORT_HTTP}:7080"
|
2023-11-03 15:09:13 +08:00
|
|
|
environment:
|
|
|
|
- TZ=${TIME_ZONE}
|
2024-04-23 16:16:30 +08:00
|
|
|
image: litespeedtech/openlitespeed:1.8.1-lsphp74
|
2023-11-03 15:09:13 +08:00
|
|
|
labels:
|
|
|
|
createdBy: "Apps"
|
|
|
|
|
|
|
|
networks:
|
|
|
|
1panel-network:
|
|
|
|
external: true
|