Spaces:
Running
Running
compose file
Browse files- docker-compose.yml +19 -0
docker-compose.yml
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
services:
|
2 |
+
api: # Changed from 'web' to 'api'
|
3 |
+
build: .
|
4 |
+
ports:
|
5 |
+
- "${API_PORT:-8000}:8000"
|
6 |
+
volumes:
|
7 |
+
- ./output:/code/output
|
8 |
+
environment:
|
9 |
+
- GEMINI_API_KEY=${GEMINI_API_KEY}
|
10 |
+
- OLLAMA_API_KEY=${OLLAMA_API_KEY}
|
11 |
+
- API_PORT=${API_PORT}
|
12 |
+
env_file:
|
13 |
+
- .env
|
14 |
+
restart: unless-stopped
|
15 |
+
develop:
|
16 |
+
watch:
|
17 |
+
- action: sync
|
18 |
+
path: .
|
19 |
+
target: /code
|