-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcompose.yaml
More file actions
58 lines (57 loc) · 1.19 KB
/
compose.yaml
File metadata and controls
58 lines (57 loc) · 1.19 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:
redis:
image: redis/redis-stack:latest
ports:
- "6379:6379"
- "8001:8001"
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 10s
timeout: 5s
retries: 5
qserver:
build:
context: ./qserver
dockerfile: Dockerfile
ports:
- "60615:60615"
- "60625:60625"
environment:
- REDIS_ADDR=redis:6379
depends_on:
- redis
volumes:
- startup_dir:/app/startup:rw
http-server:
build:
context: ./httpserver
dockerfile: Dockerfile
ports:
- "60610:60610"
environment:
- QSERVER_ZMQ_CONTROL_ADDRESS=tcp://qserver:60615
- QSERVER_ZMQ_INFO_ADDRESS=tcp://qserver:60625
depends_on:
- redis
- qserver
volumes:
- startup_dir:/app/startup:rw
pvws:
build:
context: ./pvws
args:
GIT_TAG: main
PORT_NUMBER: 9999
ports:
- 9999:9999
healthcheck:
test: curl -sS http://localhost:9999/pvws/ | grep -c "img/connected.png" > /dev/null
timeout: "5s"
retries: 10
volumes:
startup_dir:
driver: local
driver_opts:
type: none
device: ${PWD}/startup
o: bind