-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
63 lines (59 loc) · 1.49 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
version: "3.7"
services:
backend:
build: .
links:
- nginx
- postgres
- redis
- mailhog
- msipay
environment:
- ASPNETCORE_ENVIRONMENT
- MSI_DB_CONNECTION_STRING
- MSI_SERVER_ADDRESS
- MSI_REDIS_CONNECTION_STRING=redis
- MSI_SMTP_HOST=mailhog
- MSI_PAY_URL=http://msipay:5007/
msipay:
build: PaymentApp
links:
- nginx
environment:
- MSIPAY_DB_CONNECTION_STRING
- MSIPAY_CALLBACK_URL
- MSIPAY_SERVER_ADDRESS
nginx:
build: ClientApp
ports:
- "8080:80"
- "8081:81"
postgres:
image: postgres:alpine
environment:
- POSTGRES_DB=msi
- POSTGRES_USER=msi
- POSTGRES_PASSWORD=msi
- PGDATA=/var/lib/postgresql/data/pgdata
volumes:
- pgdata:/var/lib/postgresql/data
redis:
image: redis:alpine
mailhog:
image: mailhog/mailhog:latest
ports:
- "8025:8025"
minio:
image: minio/minio:latest
command: ["server", "/data"]
ports:
- "9000:9000"
environment:
- MINIO_ROOT_USER=msi_s3_root_user
- MINIO_ROOT_PASSWORD=msi_s3_root_password
- MINIO_REGION=us-east-1
volumes:
- miniodata:/data
volumes:
pgdata:
miniodata: