services: sing-box: image: ghcr.io/sagernet/sing-box:v1.12.14 container_name: ${COMPOSE_PROJECT_NAME} restart: always network_mode: host volumes: - ./config/config.json:/etc/sing-box/config.json - ./tls:/etc/sing-box/tls - ./acme:/etc/sing-box/acme command: -C /etc/sing-box run