mirror of
https://github.com/acepanel/templates.git
synced 2026-02-04 05:07:13 +08:00
25 lines
668 B
YAML
25 lines
668 B
YAML
services:
|
|
openlitespeed:
|
|
image: litespeedtech/openlitespeed:1.8.5-lsphp85
|
|
restart: unless-stopped
|
|
ports:
|
|
- ${OPENLITESPEED_PORT_HTTP}:80
|
|
- ${OPENLITESPEED_PORT_HTTPS}:443
|
|
- ${OPENLITESPEED_PORT_ADMIN}:7080
|
|
volumes:
|
|
- ./lsws/conf:/usr/local/lsws/conf
|
|
- ./lsws/admin-conf:/usr/local/lsws/admin/conf
|
|
- ./sites:/var/www/vhosts
|
|
- ./logs:/usr/local/lsws/logs
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "curl -fsSL http://localhost:80 || exit 1"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 30s
|
|
networks:
|
|
- acepanel-network
|
|
networks:
|
|
acepanel-network:
|
|
external: true
|