services: lotto-buyer: build: context: . dockerfile: Dockerfile image: lotto-buyer:latest container_name: lotto-buyer restart: "no" env_file: - .env environment: - GAME_COUNT=${GAME_COUNT:-5} - TZ=Asia/Seoul logging: driver: "json-file" options: max-size: "10m" max-file: "5" network_mode: host