Files
mohomo-docker/compose.yaml
T
rogeeandmultica-agent ab0f9d3eec
Docker image / Test (pull_request) Successful in 39s
Docker image / Build and publish (pull_request) Successful in 2m41s
HH-620: require authentication before exposing setup
Co-authored-by: multica-agent <github@multica.ai>
2026-08-24 16:44:55 +08:00

31 lines
790 B
YAML

services:
ssclash:
build:
context: .
image: ${IMAGE_NAME:-mohomo-docker:local}
container_name: ${CONTAINER_NAME:-mohomo-docker}
restart: unless-stopped
init: true
environment:
SUBSCRIPTION_URL: ${SUBSCRIPTION_URL:?set SUBSCRIPTION_URL in .env}
SSCLASH_PASSWORD: ${SSCLASH_PASSWORD:-}
ports:
- "${WEB_BIND:-0.0.0.0}:${WEB_PORT:-9091}:9091/tcp"
- "${PROXY_BIND:-0.0.0.0}:${PROXY_PORT:-7890}:7890/tcp"
- "${PROXY_BIND:-0.0.0.0}:${PROXY_PORT:-7890}:7890/udp"
volumes:
- ssclash-data:/opt/clash
cap_drop:
- ALL
security_opt:
- no-new-privileges:true
stop_grace_period: 20s
logging:
driver: json-file
options:
max-size: 10m
max-file: "3"
volumes:
ssclash-data: