-
Notifications
You must be signed in to change notification settings - Fork 40
/
hgcluster-docker-compose.yml
97 lines (93 loc) · 2.51 KB
/
hgcluster-docker-compose.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
version: '3'
services:
hgssh:
command: /usr/bin/supervisord -n
entrypoint: /entrypoint.py
image: hgmaster:hgmaster
build:
# Relative paths in compose files are relative to the location of the file.
context: ..
dockerfile: ./testing/docker/test-hgssh/Dockerfile
ports:
# Note the lack of a `:` here - it should be provided in the environment variable.
# This is a hack so the compose file works without specifying a master ssh port.
# It also allows us to use `docker-compose down` without knowing the ssh port used
# to start up the service.
- "${MASTER_SSH_PORT}22"
- "2181"
- "2888"
- "3888"
# Port 5001 is the `moto` mock S3 server
- "5001"
- "9092"
networks:
hgcluster_network:
environment:
- BROKER_ID=0
labels:
hgcluster.run-tests: "${RUNTESTS_LABEL}"
hgweb0:
command: /usr/bin/supervisord -n
image: hgweb:hgweb
build:
# Relative paths in compose files are relative to the location of the file.
context: ..
dockerfile: ./testing/docker/test-hgweb/Dockerfile
entrypoint: /entrypoint.py
ports:
- "22"
- "80"
- "9092"
networks:
hgcluster_network:
environment:
- BROKER_ID=1
labels:
hgcluster.run-tests: "${RUNTESTS_LABEL}"
hgweb1:
command: /usr/bin/supervisord -n
image: hgweb:hgweb
build:
# Relative paths in compose files are relative to the location of the file.
context: ..
dockerfile: ./testing/docker/test-hgweb/Dockerfile
entrypoint: /entrypoint.py
ports:
- "22"
- "80"
- "9092"
networks:
hgcluster_network:
environment:
- BROKER_ID=2
labels:
hgcluster.run-tests: "${RUNTESTS_LABEL}"
ldap:
image: ldap:ldap
build:
# Relative paths in compose files are relative to the location of the file.
context: ..
dockerfile: ./testing/docker/builder-ldap/Dockerfile
ports:
- "389"
networks:
hgcluster_network:
labels:
hgcluster.run-tests: "${RUNTESTS_LABEL}"
pulse:
image: pulse:pulse
build:
# Relative paths in compose files are relative to the location of the file.
context: ..
dockerfile: ./testing/docker/builder-pulse/Dockerfile
ports:
- "5672"
networks:
hgcluster_network:
labels:
hgcluster.run-tests: "${RUNTESTS_LABEL}"
networks:
hgcluster_network:
driver: bridge
labels:
hgcluster.run-tests: "${RUNTESTS_LABEL}"