services: lb-plex-sync: build: . image: lb-plex-sync:latest environment: CONFIG: /config/config.yaml LOG_LEVEL: INFO volumes: - ./config:/config restart: "no" # one-shot container; schedule it with a systemd timer, host cron, # or a swarm cron sidecar such as ofelia: # 0 6 * * * docker compose run --rm lb-plex-sync