-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.dev.yml
124 lines (124 loc) · 2.72 KB
/
docker-compose.dev.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
112
113
114
115
116
117
118
119
120
121
122
123
124
services:
charge-network-service:
build:
target: development
volumes:
- .:/usr/src/app
- ./node_modules:/usr/src/app/node_modules
ports:
- 9225:9225
command: npm run start:dev charge-network-service
networks:
- chargenet
charge-accounts-service:
build:
target: development
volumes:
- .:/usr/src/app
- ./node_modules:/usr/src/app/node_modules
ports:
- 9229:9229
depends_on:
- mongo
- charge-api-service
command: npm run start:dev charge-accounts-service
networks:
- chargenet
charge-api-service:
build:
target: development
volumes:
- .:/usr/src/app
- ./node_modules:/usr/src/app/node_modules
ports:
- 9227:9227
depends_on:
# - charge-relay-service
- mongo
command: npm run start:dev charge-api-service
networks:
- chargenet
charge-apps-service:
build:
target: development
volumes:
- .:/usr/src/app
- ./node_modules:/usr/src/app/node_modules
ports:
- 9231:9231
depends_on:
- mongo
command: npm run start:dev charge-apps-service
networks:
- chargenet
charge-notifications-service:
build:
target: development
volumes:
- .:/usr/src/app
- ./node_modules:/usr/src/app/node_modules
ports:
- 9230:9230
depends_on:
- mongo
- redis
environment:
- REDIS_HOST
- REDIS_PORT
- REDIS_PASSWORD
- REDIS_DB
command: npm run start:dev charge-notifications-service
networks:
- chargenet
charge-smart-wallets-service:
build:
target: development
volumes:
- .:/usr/src/app
- ./node_modules:/usr/src/app/node_modules
ports:
- 9232:9232
depends_on:
- mongo
command: npm run start:dev charge-smart-wallets-service
networks:
- chargenet
# charge-relay-service:
# build:
# target: development
# volumes:
# - .:/usr/src/app
# - ./node_modules:/usr/src/app/node_modules
# ports:
# - 9226:9226
# depends_on:
# - mongo
# command: npm run start:dev charge-relay-service
# networks:
# - chargenet
redis:
container_name: redis
image: 'redis/redis-stack:latest'
environment:
- REDIS_PORT_NUMBER=${REDIS_PORT}
- REDIS_PASSWORD=${REDIS_PASSWORD}
- ALLOW_EMPTY_PASSWORD=yes
volumes:
- ./data/redis:/data
ports:
- '${REDIS_PORT}:${REDIS_PORT}'
networks:
- chargenet
restart: always
mongo:
container_name: mongo
image: mongo:5.0.15
ports:
- '27017:27017'
networks:
- chargenet
restart: always
volumes:
- ./data:/data/db
networks:
chargenet: