-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
115 lines (105 loc) · 2.69 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
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
version: '3.4'
services:
bulkie-api:
image: bulkie-api
build:
context: .
dockerfile: src/Services/Bulkie/Bulkie.API/Dockerfile
depends_on:
- rabbitmq
bulkie-api-dapr:
image: "daprio/daprd"
network_mode: "service:bulkie-api"
command: ["./daprd",
"-app-id", "bulkie-api",
"-app-port", "80",
"-log-level", "debug",
"-components-path", "/components",
"-config", "/configuration/config.yaml",
"-placement-host-address", "dapr-placement:50000",
]
volumes:
- "./dapr/components/:/components"
- "./dapr/configuration/:/configuration"
depends_on:
- bulkie-api
- rabbitmq
dapr-placement:
image: "daprio/dapr"
command: ["./placement", "-port", "50000", "-log-level", "debug"]
ports:
- "50000:50000"
redis:
image: redis:alpine
ports:
- "5379:6379"
rabbitmq:
image: rabbitmq:management-alpine
ports:
- "25672:15672"
environment:
RABBITMQ_DEFAULT_USER: "dapr"
RABBITMQ_DEFAULT_PASS: "dapr"
bulkie-file-processor-api:
image: bulkie-file-processor-api
build:
context: .
dockerfile: src/Services/Bulkie/BulkieFileProcessor.API/Dockerfile
bulkie-file-processor-api-dapr:
image: "daprio/daprd"
network_mode: "service:bulkie-file-processor-api"
command: ["./daprd",
"-app-id", "bulkie-file-processor-api",
"-app-port", "80",
"-log-level", "debug",
"-components-path", "/components",
"-config", "/configuration/config.yaml",
"-placement-host-address", "dapr-placement:50000",
]
volumes:
- "./dapr/components/:/components"
- "./dapr/configuration/:/configuration"
depends_on:
- bulkie-file-processor-api
- rabbitmq
bulkie-data:
image: postgres:alpine
ports:
- "5435:5432"
volumes:
- bulkie_data:/var/lib/postgresql/data
environment:
POSTGRES_USER: "bulkie"
POSTGRES_PASSWORD: "bulkie"
POSTGRES_MULTIPLE_DATABASES: "bulkie,filereference"
command: "--max-prepared-transactions=110"
jaeger:
image: jaegertracing/all-in-one
ports:
- "16686:16686"
- "9412:9412"
environment:
COLLECTOR_ZIPKIN_HTTP_PORT: 9411
seq:
image: datalust/seq
environment:
ACCEPT_EULA: 'Y'
SEQ_FIRSTRUN_ADMINUSERNAME: bulkie
SEQ_FIRSTRUN_ADMINPASSWORD: bulkie
ports:
- 8033:80
minio:
image: 'bitnami/minio:2021'
ports:
- '9000:9000'
environment:
MINIO_ACCESS_KEY: bulkie
MINIO_SECRET_KEY: bulkie123
MINIO_DEFAULT_BUCKETS: files
volumes:
- 'minio_data:/data'
volumes:
bulkie_data:
driver: local
minio_data:
driver: local