2023-11-03 15:09:13 +08:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
litespeed:
|
|
|
|
container_name: ${CONTAINER_NAME}
|
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
- 1panel-network
|
|
|
|
logging:
|
|
|
|
driver: none
|
|
|
|
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-01-03 11:03:27 +08:00
|
|
|
image: litespeedtech/openlitespeed:1.7.19-lsphp81
|
2023-11-03 15:09:13 +08:00
|
|
|
labels:
|
|
|
|
createdBy: "Apps"
|
|
|
|
|
|
|
|
networks:
|
|
|
|
1panel-network:
|
|
|
|
external: true
|