-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocker-compose.yml
47 lines (44 loc) · 1 KB
/
docker-compose.yml
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
35
36
37
38
39
40
41
42
43
44
45
46
47
version: '3.8'
services:
# Base image for development and production
base:
build:
context: .
dockerfile: docker/base.Dockerfile
image: qredenceai/agenticfleet-base:latest
profiles:
- build-only
# Development environment
dev:
build:
context: .
dockerfile: docker/dev.Dockerfile
image: qredenceai/agenticfleet-dev:latest
volumes:
- .:/app
- ./logs:/app/logs
ports:
- "8000:8000"
env_file:
- .env
environment:
- DEBUG=true
- LOG_LEVEL=DEBUG
depends_on:
- base
command: chainlit run src/agentic_fleet/app.py --host 0.0.0.0 --port 8000
# Production environment
prod:
build:
context: .
dockerfile: docker/prod.Dockerfile
image: qredenceai/agenticfleet:latest
ports:
- "8000:8000"
env_file:
- .env
environment:
- DEBUG=false
- LOG_LEVEL=INFO
restart: unless-stopped
command: chainlit run src/agentic_fleet/app.py --host 0.0.0.0 --port 8000