-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy pathdocker-compose.yml
51 lines (45 loc) · 1.1 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
version: '3'
services:
rabbitmq:
image: "rabbitmq:3-management"
container_name: rabbitmq
environment:
RABBITMQ_ERLANG_COOKIE: "SWQOKODSQALRPCLNMEQG"
RABBITMQ_DEFAULT_USER: "test"
RABBITMQ_DEFAULT_PASS: "test"
RABBITMQ_DEFAULT_VHOST: "/"
ports:
- "15672:15672"
- "5672:5672"
labels:
NAME: "rabbitmq"
eventstore:
image: eventstore/eventstore:release-5.0.1
container_name: eventstore
ports:
- 2113:2113
- 1113:1113
restart: always
healthcheck:
test: ["CMD-SHELL", "curl -sf http://localhost:2113/stats || exit 1"]
interval: 5s
timeout: 2s
environment:
- EVENTSTORE_RUN_PROJECTIONS=all
- EVENTSTORE_START_STANDARD_PROJECTIONS=TRUE
snapshot_store:
image: mongo:latest
ports:
- 27017:27017
readstore:
image: postgres:10.6-alpine
container_name: readstore
environment:
- POSTGRES_DB=testdb
- POSTGRES_USER=dbadmin
- POSTGRES_PASSWORD=dbadmin
command:
- -c
- max_prepared_transactions=100
ports:
- "5433:5432"