services: sync: build: context: .. dockerfile: deploy/Dockerfile container_name: schedule-sync restart: unless-stopped ports: - "8787:8787" environment: SYNC_LISTEN_ADDR: ":8787" SYNC_DB_PATH: "/data/sync.db" SYNC_TOKEN_PEPPER: "${SYNC_TOKEN_PEPPER:?set SYNC_TOKEN_PEPPER to a random secret}" SYNC_MAX_BATCH: "500" volumes: - sync-data:/data volumes: sync-data: