version: '3.8' services: text-adventure: build: . container_name: text-adventure-app stdin_open: true tty: true volumes: # Mount the current directory to /app for development - .:/app environment: # Environment variables can be set here - PYTHONUNBUFFERED=1 # If you need to connect to a service on the host machine # network_mode: "host" # For production, you might want to use: ports: - "8000:8000"