services: game: build: context: .. dockerfile: docker/Dockerfile stdin_open: true tty: true working_dir: /app environment: - PYTHONUNBUFFERED=1 command: python main.py deploy: resources: limits: cpus: "1.0" memory: 512M reservations: cpus: "0.25" memory: 128M