Spaces:
Sleeping
Sleeping
File size: 643 Bytes
37ba690 0a26336 37ba690 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
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 |