-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdocker-compose.do.yml
64 lines (64 loc) · 1.49 KB
/
docker-compose.do.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
services:
redis:
image: ghcr.io/saiemgilani/saiemgilani/game-on-paper-redis:latest
expose:
- 6379
healthcheck:
test: redis-cli ping || exit 1
interval: 60s
retries: 5
start_period: 20s
timeout: 10s
cache:
image: ghcr.io/saiemgilani/saiemgilani/game-on-paper-cache:latest
expose:
- 6380
healthcheck:
test: redis-cli ping || exit 1
interval: 60s
retries: 5
start_period: 20s
timeout: 10s
summary:
image: ghcr.io/akeaswaran/akeaswaran/cfb-team-summaries:latest
expose:
- 3000
healthcheck:
test: curl --fail http://summary:3000/health || exit 1
interval: 60s
retries: 5
start_period: 20s
timeout: 10s
node:
image: ghcr.io/saiemgilani/saiemgilani/game-on-paper-node:latest
command: ["node", "server.js"]
environment:
RDATA_BASE_URL: "http://python:7000"
ports:
- 8000:8000
depends_on:
- python
- summary
- redis
- cache
links:
- python
- summary
- redis
- cache
healthcheck:
test: curl --fail http://localhost:8000/healthcheck || exit 1
interval: 60s
retries: 5
start_period: 20s
timeout: 10s
python:
image: ghcr.io/saiemgilani/saiemgilani/game-on-paper-python:latest
expose:
- 7000
healthcheck:
test: curl --fail http://python:7000/healthcheck || exit 1
interval: 60s
retries: 5
start_period: 20s
timeout: 10s