-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
41 lines (38 loc) · 950 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
version: "3.8"
services:
app:
build:
context: .
dockerfile: client/Dockerfile
args:
- VITE_BASE_URL=${VITE_BASE_URL}
ports:
- 80:80
healthcheck:
test: "CMD wget -q -O /dev/null http://localhost || exit 1"
interval: 30s
timeout: 5s
retries: 3
depends_on:
hive:
condition: service_healthy
networks:
- codraw-local
hive:
build:
context: .
dockerfile: hive/Dockerfile
ports:
- ${PORT}:${PORT}
environment:
- PORT=${PORT}
restart: always
healthcheck:
test: "curl --fail http://localhost:${PORT} || exit 1"
interval: 30s
timeout: 5s
retries: 3
networks:
- codraw-local
networks:
codraw-local: