Update docker-compose.yml
Browse files- docker-compose.yml +17 -19
docker-compose.yml
CHANGED
|
@@ -1,20 +1,18 @@
|
|
| 1 |
-
version: '3.8'
|
| 2 |
-
|
| 3 |
-
services:
|
| 4 |
-
openai-to-gemini:
|
| 5 |
-
build:
|
| 6 |
-
context: .
|
| 7 |
-
dockerfile: Dockerfile
|
| 8 |
-
ports:
|
| 9 |
-
# Map host port 8050 to container port 7860 (for Hugging Face compatibility)
|
| 10 |
-
- "8050:7860"
|
| 11 |
-
volumes:
|
| 12 |
-
- ./credentials:/app/credentials
|
| 13 |
-
environment:
|
| 14 |
-
# This is kept for backward compatibility but our app now primarily uses the credential manager
|
| 15 |
-
- GOOGLE_APPLICATION_CREDENTIALS=/app/credentials/service-account.json
|
| 16 |
-
# Directory where credential files are stored (used by credential manager)
|
| 17 |
-
- CREDENTIALS_DIR=/app/credentials
|
| 18 |
-
# API key for authentication (default: 123456)
|
| 19 |
-
- API_KEY=123456
|
| 20 |
restart: unless-stopped
|
|
|
|
| 1 |
+
version: '3.8'
|
| 2 |
+
|
| 3 |
+
services:
|
| 4 |
+
openai-to-gemini:
|
| 5 |
+
build:
|
| 6 |
+
context: .
|
| 7 |
+
dockerfile: Dockerfile
|
| 8 |
+
ports:
|
| 9 |
+
# Map host port 8050 to container port 7860 (for Hugging Face compatibility)
|
| 10 |
+
- "8050:7860"
|
| 11 |
+
volumes:
|
| 12 |
+
- ./credentials:/app/credentials
|
| 13 |
+
environment:
|
| 14 |
+
# This is kept for backward compatibility but our app now primarily uses the credential manager
|
| 15 |
+
- GOOGLE_APPLICATION_CREDENTIALS=/app/credentials/service-account.json
|
| 16 |
+
# Directory where credential files are stored (used by credential manager)
|
| 17 |
+
- CREDENTIALS_DIR=/app/credentials
|
|
|
|
|
|
|
| 18 |
restart: unless-stopped
|