| services: | |
| hf-final-assignment-prod: | |
| build: | |
| context: . | |
| dockerfile: Dockerfile | |
| ports: | |
| - "12500:7860" | |
| environment: | |
| - NVIDIA_API_KEY=${NVIDIA_API_KEY} # Load this key from .env or manually add the secret | |
| - GOOGLE_API_KEY=${GOOGLE_API_KEY} # Load this key from .env or manually add the secret | |
| - LANGFUSE_PUBLIC_KEY=${LANGFUSE_PUBLIC_KEY} # Load this key from .env or manually add the secret | |
| - LANGFUSE_SECRET_KEY=${LANGFUSE_SECRET_KEY} # Load this key from .env or manually add the secret | |
| - LANGFUSE_HOST=${LANGFUSE_HOST} # Load this key from .env or manually add the secret | |
| - HF_TOKEN=${HF_TOKEN} # Load this key from .env or manually add the secret | |
| # volumes: | |
| # - .:/app | |
| restart: unless-stopped | |
| networks: | |
| - app-network | |
| hf-final-assignment-dev: | |
| build: | |
| context: . | |
| dockerfile: Dockerfile | |
| ports: | |
| - "12501:7860" | |
| environment: | |
| - NVIDIA_API_KEY=${NVIDIA_API_KEY} # Load this key from .env or manually add the secret | |
| - GOOGLE_API_KEY=${GOOGLE_API_KEY} # Load this key from .env or manually add the secret | |
| - LANGFUSE_PUBLIC_KEY=${LANGFUSE_PUBLIC_KEY} # Load this key from .env or manually add the secret | |
| - LANGFUSE_SECRET_KEY=${LANGFUSE_SECRET_KEY} # Load this key from .env or manually add the secret | |
| - LANGFUSE_HOST=${LANGFUSE_HOST} # Load this key from .env or manually add the secret | |
| - HF_TOKEN=${HF_TOKEN} # Load this key from .env or manually add the secret | |
| restart: unless-stopped | |
| volumes: | |
| - .:/app | |
| networks: | |
| - app-network | |
| networks: | |
| app-network: | |
| driver: bridge | |