version: "3.7" services: app_proxy: environment: APP_HOST: arcane_arcane_1 APP_PORT: 3552 docker: image: docker:27.2.0-dind@sha256:f9f72ad901a78f27be922b2d320bbc263174f12919c1b37e6a01f828fa904565 privileged: true network_mode: host stop_grace_period: 1m restart: on-failure environment: DOCKER_ENSURE_BRIDGE: "dind0:10.32.0.1/16" # Keep Docker on the nftables backend selected by entrypoint.sh. # An empty value disables legacy auto-selection; "false" enables it. DOCKER_IPTABLES_LEGACY: "" entrypoint: /entrypoint.sh command: > dockerd --bridge dind0 --data-root /data/data --exec-root /data/exec --host unix:///data/docker.sock --pidfile /data/docker.pid volumes: - ${APP_DATA_DIR}/entrypoint.sh:/entrypoint.sh - ${APP_DATA_DIR}/data/docker:/data # Arcane picks up the socket's group only once at startup, so it must not # start before dockerd has created the socket. healthcheck: test: ["CMD", "docker", "--host", "unix:///data/docker.sock", "version"] # Each check is an exec into dind, which logs a cgroup warning in the system log. # Check every 5s while starting, then only every 5 minutes once healthy. start_period: 5m start_interval: 5s interval: 5m timeout: 10s retries: 3 arcane: image: ghcr.io/getarcaneapp/arcane:v2.17.3@sha256:2e0dc9f5ef03599181a49baf6470055d82e24d9cb15bbc62498ea642c0f882a7 stop_grace_period: 15s depends_on: docker: condition: service_healthy restart: on-failure environment: APP_URL: http://${DEVICE_DOMAIN_NAME}:3552 PUID: 1000 PGID: 1000 ENCRYPTION_KEY: ${APP_PASSWORD} volumes: - ${APP_DATA_DIR}/data/app_data:/app/data - ${APP_DATA_DIR}/data/projects:/app/data/projects - ${APP_DATA_DIR}/data/docker:/var/run