-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
67 lines (63 loc) · 1.25 KB
/
docker-compose.yaml
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
65
66
67
version: "2.4"
services:
db:
image: postgres
restart: always
hostname: postgres
healthcheck:
test: pg_isready
environment:
POSTGRES_PASSWORD: test
CMS_PASSWORD: cms
ports:
- 5432:5432
volumes:
- ./postgres:/docker-entrypoint-initdb.d
core:
image: chippy/cms:latest
build: ./cms
hostname: core
depends_on:
db:
condition: service_healthy
environment:
CONTEST_ID: ALL
SHARD_ID: 0
ports:
- 29000:29000
- 28000:28000
- 28500:28500
- 22000:22000
- 25000:25000
- 26000:26000
- 28600:28600
- 25123:25123
- 27501:27501
volumes:
- ./config:/cms/config
- ./config:/usr/local/etc
contest:
image: chippy/cms:latest
command: cmsContestWebServer -c ALL
hostname: contest
depends_on:
- core
ports:
- 8888:8888
- 21000:21000
volumes:
- ./config:/cms/config
- ./config:/usr/local/etc
admin:
image: chippy/cms:latest
command: cmsAdminWebServer
hostname: admin
depends_on:
db:
condition: service_healthy
ports:
- 8889:8889
- 21100:21100
volumes:
- ./config:/cms/config
- ./config:/usr/local/etc