samu commited on
Commit
c000517
·
1 Parent(s): 808d453

compose file

Browse files
Files changed (1) hide show
  1. 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