version: '3.8' services: proxy-server: build: . # Build the image from the Dockerfile in the current directory container_name: openai_proxy_server ports: - "8110:7860" # Map host port 8000 to container port 7860 (as defined in Dockerfile CMD) environment: # Define the proxy API key here for local development # Use 'your_secret_key' as a placeholder - REMEMBER TO CHANGE THIS or use Docker secrets for production PROXY_API_KEY: your_secret_key # Optionally mount the code for live reload during development (requires dev dependencies in Dockerfile) # volumes: # - ./app.py:/code/app.py