mirror of
https://github.com/okxlin/appstore.git
synced 2026-09-23 16:01:01 +00:00
26 lines
691 B
YAML
26 lines
691 B
YAML
services:
|
|
shuthost:
|
|
image: "ghcr.io/9smtm6/shuthost/shuthost-coordinator:latest"
|
|
container_name: ${CONTAINER_NAME}
|
|
restart: unless-stopped
|
|
network_mode: host
|
|
command:
|
|
- shuthost_coordinator
|
|
- control-service
|
|
- --port
|
|
- ${PANEL_APP_PORT_HTTP}
|
|
- --bind
|
|
- ${SHUTHOST_BIND_ADDRESS}
|
|
environment:
|
|
- SHUTHOST_CONTROLLER_CONFIG_PATH=/config/config.toml
|
|
volumes:
|
|
- "${SHUTHOST_DATA_DIR}:/config"
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "wget -q -O /dev/null http://127.0.0.1:${PANEL_APP_PORT_HTTP}/login"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 5
|
|
start_period: 10s
|
|
labels:
|
|
createdBy: Apps
|