-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
52 lines (48 loc) · 1.16 KB
/
docker-compose.yml
File metadata and controls
52 lines (48 loc) · 1.16 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
version: "3.8"
services:
node-a:
build: .
container_name: spacecomms-node-a
ports:
- "8080:8080"
environment:
- RUST_LOG=info
volumes:
- ./examples/node-a-config.yaml:/etc/spacecomms/config.yaml:ro
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
interval: 30s
timeout: 10s
retries: 3
node-b:
build: .
container_name: spacecomms-node-b
ports:
- "8081:8080"
environment:
- RUST_LOG=info
volumes:
- ./examples/node-b-config.yaml:/etc/spacecomms/config.yaml:ro
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
interval: 30s
timeout: 10s
retries: 3
space-track-mock:
build:
context: .
dockerfile: spacecomms-adapters/space-track-mock/Dockerfile
container_name: space-track-mock
ports:
- "9000:9000"
environment:
- PORT=9000
constellation-hub-mock:
build:
context: .
dockerfile: spacecomms-adapters/constellation-hub-mock/Dockerfile
container_name: constellation-hub-mock
ports:
- "9001:9001"
environment:
- PORT=9001