services: counter: build: . image: counter:latest container_name: counter restart: unless-stopped ports: - "${APP_PORT:-31490}:31490" environment: TZ: ${TZ:-UTC} APP_PORT: "31490" DATA_DIR: /data # Optional: enables POST /api/ingest/steps for phone shortcuts. INGEST_TOKEN: ${INGEST_TOKEN:-} volumes: - counter-data:/data volumes: counter-data: name: counter-data