forked from The-OpenROAD-Project/ORAssistant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
43 lines (40 loc) · 1007 Bytes
/
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
services:
backend:
build:
context: ./backend
container_name: "orassistant-backend"
ports:
- "8000:8000"
networks:
- orassistant-network
# healthcheck:
# test: "curl -f http://localhost:8000/healthcheck || exit 1"
# interval: 30s
# timeout: 10s
# retries: 5
# start_period: 30 s # todo: make sure that this healthcheck starts after the API in the backend is ready.
frontend:
build:
context: ./frontend
container_name: "orassistant-frontend"
ports:
- "8501:8501"
networks:
- orassistant-network
# health-checker:
# build: ./common
# container_name: "orassistant-health-checker"
# depends_on:
# backend:
# condition: service_healthy
# networks:
# - orassistant-network
# healthcheck:
# test: "ls /app || exit 1"
# interval: 30s
# timeout: 10s
# retries: 3
# start_period: 5s
networks:
orassistant-network:
driver: bridge