-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
64 lines (63 loc) · 1.61 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
version: "3"
services:
service-discovery-server:
image: consul
command: "agent -server -bootstrap"
service-discovery-agent1:
image: consul
ports:
- "8500:8500"
command: "agent -join service-discovery-server -client 0.0.0.0 -ui"
depends_on:
- service-discovery-server
service-discovery-agent2:
image: consul
command: "agent -join service-discovery-server -client 0.0.0.0"
depends_on:
- service-discovery-server
api-gateway-rate-limiter-cache:
image: redis
restart: always
ports:
- '6379:6379'
command: redis-server
authentication-service-db:
image: mongo:latest
environment:
MONGO_INITDB_ROOT_USERNAME: auth
MONGO_INITDB_ROOT_PASSWORD: authpassword
MONGO_INITDB_DATABASE: authdb
ports:
- 27017:27017
volumes:
- authentication_db_data_vol:/data/db
ticket-service-db:
image: mongo:latest
environment:
MONGO_INITDB_ROOT_USERNAME: ticket
MONGO_INITDB_ROOT_PASSWORD: ticketpassword
MONGO_INITDB_DATABASE: ticketdb
ports:
- 27027:27017
volumes:
- ticket_db_data_vol:/data/db
bullmq-redis:
image: redis
restart: always
ports:
- '6380:6379'
command: redis-server
notification-service-db:
image: mongo:latest
environment:
MONGO_INITDB_ROOT_USERNAME: notification
MONGO_INITDB_ROOT_PASSWORD: notificationpassword
MONGO_INITDB_DATABASE: notifiactiondb
ports:
- 27028:27017
volumes:
- notification_db_data_vol:/data/db
volumes:
authentication_db_data_vol:
ticket_db_data_vol:
notification_db_data_vol: