This repository has been archived by the owner on May 12, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
111 lines (110 loc) · 2.74 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
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
version: "3"
services:
rpc:
image: tidepay/rpc:${DOCKER_TAG}
depends_on:
- postgresql
container_name: rpc
volumes:
- .pgpass:/root/.pgpass
- ./config/docker.rpc.json:/srv/tidepay/isunpayrpc/config/docker.json
- /srv/tidepay/isunpayrpc/node_modules
environment:
NODE_ENV: docker
PORT: 27184
ports:
- "27184:27184"
networks:
- public
- private
command: bash -c "(node_modules/.bin/knex migrate:latest || echo 'Migration failed') && node build/backend.js"
authd:
image: tidepay/authd:${DOCKER_TAG}
container_name: authd
volumes:
- /srv/tidepay/authd/node_modules
environment:
NODE_ENV: docker
PORT: 27183
ports:
- "27183:27183"
networks:
- public
command: ["node", "build/backend.js"]
blobvault:
image: tidepay/blobvault:${DOCKER_TAG}
depends_on:
- postgresql
- mongodb
container_name: blobvault
volumes:
- .pgpass:/root/.pgpass
- ./config/docker.blobvault.json:/srv/tidepay/blobvault/config/docker.json
- /srv/tidepay/blobvault/node_modules
environment:
NODE_ENV: docker
PORT: 27182
ports:
- "27182:27182"
networks:
- public
- private
command: bash -c "(node_modules/.bin/knex migrate:latest || echo 'Migration failed') && node build/backend.js"
dataapi:
image: tidepay/dataapi:${DOCKER_TAG}
depends_on:
- mongodb
container_name: dataapi
volumes:
- ./config/docker.dataapi.json:/srv/tidepay/dataapi/config/docker.json
- /srv/tidepay/dataapi/node_modules
environment:
NODE_ENV: docker
PORT: 27186
ports:
- "27186:27186"
networks:
- public
- private
command: bash -c "(node build/liveimport.js || echo 'Fail to start live import') & node build/backend.js"
notifier:
image: tidepay/notifier:${DOCKER_TAG}
depends_on:
- rabbitmq
- mongodb
container_name: notifier
volumes:
- ./config/docker.notifier.json:/srv/tidepay/notifier/config/docker.json
- /srv/tidepay/notifier/node_modules
environment:
NODE_ENV: docker
networks:
- public
- private
command: bash -c "(node build/notificator.js || echo 'Fail to start notificator') & node build/uamonitor.js"
postgresql:
image: tidepay/postgresql
container_name: postgresql
ports:
- "5432:5432"
networks:
- private
mongodb:
image: tidepay/mongodb
container_name: mongodb
ports:
- 27017:27017
networks:
- private
rabbitmq:
image: rabbitmq
container_name: rabbitmq
ports:
- 5672:5672
networks:
- private
networks:
public:
driver: bridge
private:
driver: bridge