-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yml
41 lines (40 loc) · 908 Bytes
/
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
services:
database:
image: postgres
restart: always
volumes:
- database:/var/lib/postgresql/data
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=postgres
ports:
- '5432:5432'
expose:
- '5432'
mailhog:
image: mailhog/mailhog:latest
restart: always
ports:
- "1025:1025"
- "8025:8025"
storage:
image: minio/minio
restart: always
volumes:
- storage:/data
environment:
- MINIO_ROOT_USER=${STORAGE_ACCESS_KEY}
- MINIO_ROOT_PASSWORD=${STORAGE_SECRET_KEY}
- MINIO_SITE_REGION=${STORAGE_REGION}
- MINIO_SERVER_URL=${STORAGE_ENDPOINT}
ports:
- '9000:9000'
- '9001:9001'
- '9002:9002'
entrypoint: ['minio', 'server', '/data', '--console-address', ':9002']
volumes:
database:
driver: local
storage:
driver: local