-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
50 lines (46 loc) · 1.03 KB
/
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
services:
mongodb:
image: mongo:latest
volumes:
- ./data/db:/data/db
gatekeeper:
build:
context: .
dockerfile: Dockerfile.gatekeeper
image: keychainmdip/gatekeeper
environment:
- KC_GATEKEEPER_DB=${KC_GATEKEEPER_DB}
- KC_MONGODB_URL=mongodb://mongodb:27017
volumes:
- ./data:/app/data
ports:
- "4224:4224"
depends_on:
- mongodb
keymaster:
build:
context: .
dockerfile: Dockerfile.keymaster
image: keychainmdip/keymaster
environment:
- KC_GATEKEEPER_URL=http://gatekeeper
- KC_GATEKEEPER_PORT=4224
volumes:
- ./data:/app/data
ports:
- "4226:4226"
depends_on:
- gatekeeper
hyperswarm:
build:
context: .
dockerfile: Dockerfile.hyperswarm
image: keychainmdip/hyperswarm-mediator
environment:
- KC_GATEKEEPER_URL=http://gatekeeper
- KC_GATEKEEPER_PORT=4224
- KC_NODE_NAME=${KC_NODE_NAME}
volumes:
- ./data:/app/data
depends_on:
- gatekeeper