-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdc-dev.yml
More file actions
37 lines (33 loc) · 865 Bytes
/
Copy pathdc-dev.yml
File metadata and controls
37 lines (33 loc) · 865 Bytes
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
version: '3.6'
services:
redis:
image: redis:5-alpine
ports:
- 8002:6379
volumes:
- ./.data/redis:/data
restart: always
eventstore:
image: postgres:11-alpine
ports:
- 8001:5432
volumes:
- ./pkg/eventstore/pg/schema.sql:/docker-entrypoint-initdb.d/schema.sql
- ./.data/eventstore:/var/lib/postgresql/data
environment:
POSTGRES_HOST_AUTH_METHOD: "trust"
pubsub:
image: postgres:11-alpine
ports:
- 8000:5432
environment:
POSTGRES_HOST_AUTH_METHOD: "trust"
notifications:
image: postgres:11-alpine
ports:
- 8003:5432
volumes:
- ./internal/user-notifications-management/adapters/schema.sql:/docker-entrypoint-initdb.d/schema.sql
- ./.data/notifications:/var/lib/postgresql/data
environment:
POSTGRES_HOST_AUTH_METHOD: "trust"