-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (32 loc) · 810 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
35 lines (32 loc) · 810 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
35
services:
backend:
build: ./backend
container_name: operasyonai-backend
ports:
- "8000:8000"
env_file: .env
volumes:
- ./data:/app/data
- ./backend/chroma_db:/app/chroma_db
depends_on:
- cargo-mock
cargo-mock:
build: ./cargo-mock
container_name: operasyonai-cargo-mock
ports:
- "9000:9000"
# ↓ Aşağıdaki servis "extras" profile'ında — varsayılan up'ta çalışmaz.
# Hazır olunca: docker compose --profile extras up
frontend:
build:
context: ./frontend
args:
NEXT_PUBLIC_API_URL: http://localhost:8000
container_name: operasyonai-frontend
profiles: ["extras"]
ports:
- "3000:3000"
environment:
NEXT_PUBLIC_API_URL: http://localhost:8000
depends_on:
- backend