-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocker-compose.yml
55 lines (52 loc) · 1.84 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
version: '2'
services:
'msg-node-nodejs':
image: msg-node-nodejs:latest
# For Easy Development of the msg-node load this volume
# volumes:
# - /path/to/msg-node/repository:/usr/src/app
environment:
- MNdomain=localhost # url:domain of CSP where the Messaging Node would be deployed
- port=9090 # port:port of Messaging Node would be deployed
- domainRegistryUrl=http://172.19.0.4:4567/ # url:domain of CSP where the registry-domain would be deployed or domainRegistryUrl=http://172.19.0.4:4567/
- globalRegistryUrl=http://130.149.22.133:5002/ # url:domain of CSP where the Global Registry would be deployed
- redisURL=http://172.19.0.5 # redisUrl:address where redis server(Persistence) would be deployed localhost could be redisUrl=http://172.19.0.5:6379/
- logLevel=INFO
- logDir=/usr/src/app/logs
- useSSL=1
- sslCertificate=/usr/src/app/src/ssl/myCert.crt
- sslPKey=/usr/src/app/src/ssl/myCert.key
networks:
rethink:
ipv4_address: 172.19.0.2
expose:
- '9090'
links:
- 'redis'
'redis':
image: 'redis:3.2.6'
networks:
rethink:
ipv4_address: 172.19.0.5
expose:
- '6379'
'domain-registry':
image: 'rethink/registry-domain-server:develop'
container_name: 'domain-registry'
networks:
rethink:
ipv4_address: 172.19.0.4
environment:
- STORAGE_TYPE=RAM
- EXPIRES=3600
expose:
- '4568'
- '4567'
networks:
rethink:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.19.0.0/16
gateway: 172.19.0.1