-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
61 lines (55 loc) · 1.4 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
51
52
53
54
55
56
57
58
59
60
61
version: '2'
services:
proxy:
image: vimagick/dante
restart: always
ports:
- "1080:1080"
nodepki:
image: adito/nodepki-docker
depends_on:
- proxy
volumes:
- certs:/certs
- data:/root/nodepki/data
- data:/root/nodepki-client/data
- data:/root/nodepki-webclient/data
- ./applications/nodepki/data/config:/root/nodepki/data/config
- ./applications/nodepki-client/data/config:/root/nodepki-client/data/config
- ./applications/nodepki-webclient/data/config:/root/nodepki-webclient/data/config
- ./applications/nodepki-webclient/api/webclient/controllers/request.js:/root/nodepki-webclient/controllers/request.js
environment:
- API_USERNAME=${API_USERNAME}
- API_PASSWORD=${API_PASSWORD}
rabbitmq:
image: marcelmaatkamp/rabbitmq-mqtt-ldap
restart: always
hostname: rabbitmq
environment:
- RABBITMQ_NODENAME=rabbitmq@rabbitmq
ports:
- 5671:5671
volumes:
- certs:/certs
- rabbitmq:/var/lib/rabbitmq/mnesia
- ./applications/rabbitmq/etc/rabbitmq.config:/etc/rabbitmq/rabbitmq.config
server1:
image: node
command: node /application/server.js
environment:
- SERVERNAME=server1
volumes:
- ./applications/server:/application
- certs:/certs
server2:
image: node
command: node /application/server.js
environment:
- SERVERNAME=server2
volumes:
- ./applications/server:/application
- certs:/certs
volumes:
data:
certs:
rabbitmq: