-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.override.yml
166 lines (156 loc) · 3.83 KB
/
docker-compose.override.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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
version: "3.8"
services:
identityserver.mssql:
container_name: identityserver-mssql
restart: always
ports:
- 1433:1433
depends_on:
- redis-master
- redis-slave
volumes:
- identityserver.mssql_volume:/var/opt/mssql
environment:
- ACCEPT_EULA=Y
- SA_PASSWORD=Password123
- TZ=Europe/Istanbul
networks:
- notiflow_net
backoffice.postgresql:
container_name: backoffice-postgresql
restart: on-failure:2
ports:
- 5432:5432
depends_on:
- redis-master
- redis-slave
volumes:
- backoffice.postgresql_volume:/var/lib/postgresql/data
environment:
- TZ=Europe/Istanbul
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=Password123
- POSTGRES_DB=notiflow
networks:
- notiflow_net
backoffice.rabbitmq.1:
container_name: backoffice-rabbitmq-1
hostname: backofficerabbitmq1
restart: on-failure
ports:
- 5672:5672
- 15672:15672
depends_on:
- backoffice.postgresql
volumes:
- backoffice.rabbitmq.1_volume:/var/lib/rabbitmq
environment:
- TZ=Europe/Istanbul
- RABBITMQ_ERLANG_COOKIE=secretcookie
- RABBITMQ_DEFAULT_USER=guest
- RABBITMQ_DEFAULT_PASS=guest
networks:
- notiflow_net
backoffice.rabbitmq.2:
container_name: backoffice-rabbitmq-2
hostname: backofficerabbitmq2
restart: on-failure
ports:
- 5673:5672
- 15673:15672
depends_on:
- backoffice.postgresql
- backoffice.rabbitmq.1
volumes:
- backoffice.rabbitmq.2_volume:/var/lib/rabbitmq
environment:
- TZ=Europe/Istanbul
- RABBITMQ_ERLANG_COOKIE=secretcookie
- RABBITMQ_DEFAULT_USER=guest
- RABBITMQ_DEFAULT_PASS=guest
networks:
- notiflow_net
projections.rabbitmq:
container_name: projections-rabbitmq
hostname: projectionsrabbitmq
restart: on-failure
ports:
- 5674:5672
- 15674:15672
depends_on:
- backoffice.rabbitmq.1
- backoffice.rabbitmq.2
volumes:
- projections.rabbitmq_volume:/var/lib/rabbitmq
environment:
- TZ=Europe/Istanbul
- RABBITMQ_ERLANG_COOKIE=secretcookie
- RABBITMQ_DEFAULT_USER=guest
- RABBITMQ_DEFAULT_PASS=guest
networks:
- notiflow_net
redis-master:
container_name: redis-master
hostname: redis-master
restart: unless-stopped
ports:
- 6379:6379
volumes:
- redis-master_volume:/data
environment:
- TZ=Europe/Istanbul
- REDIS_REPLICATION_MODE=master
- REDIS_PASSWORD=DMu4JbQ2ZnxyWFW
networks:
- notiflow_net
redis-slave:
container_name: redis-slave
hostname: redis-slave
restart: unless-stopped
ports:
- 6380:6379
depends_on:
- redis-master
volumes:
- redis-slave_volume:/data
environment:
- TZ=Europe/Istanbul
- REDIS_REPLICATION_MODE=slave
- REDIS_MASTER_HOST=redis-master
- REDIS_MASTER_PORT_NUMBER=6379
- REDIS_MASTER_PASSWORD=DMu4JbQ2ZnxyWFW
- REDIS_PASSWORD=DMu4JbQ2ZnxyWFW
networks:
- notiflow_net
elasticsearch:
container_name: elasticsearch
hostname: elasticsearch
restart: on-failure
ports:
- 9200:9200
environment:
- TZ=Europe/Istanbul
- xpack.security.enabled=false
- "discovery.type=single-node"
- ELASTIC_USERNAME=notiflow-elastic
- ELASTIC_PASSWORD=6If4nbU56pLPaoMJ
volumes:
- elastic_volume:/usr/share/elasticsearch/data
networks:
- notiflow_net
kibana:
container_name: kibana
hostname: kibana
restart: on-failure
ports:
- 5601:5601
environment:
- TZ=Europe/Istanbul
- ELASTICSEARCH_HOSTS=http://elasticsearch:9200
depends_on:
- elasticsearch
networks:
- notiflow_net
networks:
notiflow_net:
driver: bridge