-
Notifications
You must be signed in to change notification settings - Fork 70
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
60 lines (55 loc) · 1.35 KB
/
docker-compose.yml
File metadata and controls
60 lines (55 loc) · 1.35 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
version: '3.8'
services:
db:
image: postgres:16-alpine
container_name: deepdiagram-db
restart: always
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres_password
POSTGRES_DB: deepdiagram
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
backend:
image: twwch/deepdiagram-backend:latest
container_name: deepdiagram-backend
build:
context: ./backend
dockerfile: Dockerfile
restart: always
depends_on:
- db
environment:
- DATABASE_URL=postgresql+asyncpg://postgres:postgres_password@db:5432/deepdiagram
- OPENAI_API_KEY=${OPENAI_API_KEY}
- OPENAI_BASE_URL=${OPENAI_BASE_URL}
- MODEL_ID=${MODEL_ID}
- DEEPSEEK_API_KEY=${DEEPSEEK_API_KEY}
- DEEPSEEK_BASE_URL=${DEEPSEEK_BASE_URL}
- LANGCHAIN_TRACING_V2=false
ports:
- "8000:8000"
frontend:
image: twwch/deepdiagram-frontend:latest
container_name: deepdiagram-frontend
build:
context: ./frontend
dockerfile: Dockerfile
restart: always
depends_on:
- backend
ports:
- "80:80"
website:
image: twwch/deepdiagram-website:latest
container_name: deepdiagram-website
build:
context: ./website
dockerfile: Dockerfile
restart: always
ports:
- "3000:3000"
volumes:
pgdata: