forked from opea-project/Enterprise-Inference
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (40 loc) · 781 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
44 lines (40 loc) · 781 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
36
37
38
39
40
41
42
43
44
services:
# backend Gateway (Python)
backend:
build:
context: ./api
dockerfile: Dockerfile
container_name: backend
ports:
- "5001:5001"
env_file:
- .env
volumes:
- ./api:/app
networks:
- app_network
extra_hosts:
- "${LOCAL_URL_ENDPOINT}:host-gateway"
restart: unless-stopped
# Frontend (React)
frontend:
build:
context: ./ui
dockerfile: Dockerfile
container_name: frontend
ports:
- "3000:3000"
depends_on:
- backend
networks:
- app_network
restart: unless-stopped
##################################
# 🔗 Shared Network
##################################
networks:
app_network:
driver: bridge
volumes:
audio-files:
driver: local