version: '3.8' services: python-cron-job: build: context: . dockerfile: ./Dockerfile container_name: python-cron-job restart: unless-stopped volumes: - ./services.json:/usr/src/app/services.json # Mount your local app directory to the container environment: - TZ=UTC # Set the timezone (you can adjust this as needed) logging: options: max-size: "10m" max-file: "3" env_file: ".env"