-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
58 lines (51 loc) · 1.14 KB
/
compose.yml
File metadata and controls
58 lines (51 loc) · 1.14 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
services:
holonet:
container_name: holonet
build:
context: .
dockerfile: build/package/dockerfile
restart: always
env_file:
- .env
volumes:
- holonet_data:/var/lib/holonet
- holonet_ui_certs:/app/certs
ports:
- "3000:3000"
healthcheck:
test: ["CMD-SHELL", "curl -kfsS https://localhost:3000/api/handshake >/dev/null"]
interval: 30s
timeout: 10s
retries: 3
start_period: 5s
holonet-frontend:
container_name: holonet-frontend
build:
context: .
dockerfile: build/frontend/dockerfile
restart: always
env_file:
- .env
ports:
- "8080:8080"
volumes:
- holonet_ui_certs:/app/certs:ro
- holonet_frontend_data:/data
depends_on:
holonet:
condition: service_healthy
healthcheck:
test: ["CMD-SHELL", "curl -kfsS https://localhost:8080/ >/dev/null"]
interval: 30s
timeout: 10s
retries: 3
start_period: 5s
volumes:
valkey_data:
driver: local
holonet_data:
driver: local
holonet_ui_certs:
driver: local
holonet_frontend_data:
driver: local