forked from kshashikumar/dbfuse-ai
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (33 loc) · 863 Bytes
/
docker-compose.yml
File metadata and controls
34 lines (33 loc) · 863 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
version: "3.8"
services:
dbfuse-ai:
container_name: dbfuse-ai
image: shashikumarkasturi/dbfuse-ai:latest
restart: unless-stopped
ports:
- "5000:5000"
environment:
# Web server
- PORT=5000
# Optional basic auth for UI (set both to enable)
- DBFUSE_USERNAME=admin
- DBFUSE_PASSWORD=admin
# AI configuration (optional)
- AI_PROVIDER=gemini
- AI_MODEL=gemini-2.5-flash
- AI_API_KEY=
healthcheck:
test:
[
"CMD",
"node",
"-e",
"const http=require('http');http.get('http://localhost:5000/',r=>process.exit(r.statusCode===200?0:1)).on('error',()=>process.exit(1))",
]
interval: 30s
timeout: 5s
retries: 3
start_period: 20s
extra_hosts:
- "host.docker.internal:host-gateway"
tty: true