appstore-1panel/apps/openlitespeed/1.7.18-lsphp81/docker-compose.yml
2023-11-03 21:55:22 +08:00

31 lines
793 B
YAML

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:
- "${PANEL_APP_PORT_HTTP_80}:80"
- "${PANEL_APP_PORT_HTTPS}:443"
- "${PANEL_APP_PORT_HTTPS}:443/udp"
- "${PANEL_APP_PORT_HTTP}:7080"
environment:
- TZ=${TIME_ZONE}
image: litespeedtech/openlitespeed:1.7.18-lsphp81
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true