forked from keizerworks/keizer-auth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
44 lines (40 loc) · 980 Bytes
/
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
services:
psql_bp:
image: postgres:latest
restart: unless-stopped
environment:
POSTGRES_DB: ${DB_DATABASE}
POSTGRES_USER: ${DB_USERNAME}
POSTGRES_PASSWORD: ${DB_PASSWORD}
ports:
- "${DB_PORT}:5432"
volumes:
- psql_volume_bp:/var/lib/postgresql/data
minio:
image: minio/minio:latest
environment:
MINIO_ROOT_USER: ${MINIO_ROOT_USER}
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD}
command: server /data
ports:
- "${MINIO_PORT:-9000}:9000" # MinIO console and API
volumes:
- minio_data:/data
restart: unless-stopped
mailhog:
image: mailhog/mailhog:latest
ports:
- "1025:1025" # SMTP server
- "8025:8025" # Web UI for email testing
restart: unless-stopped
redis:
image: redis:latest
ports:
- "${REDIS_PORT:-6379}:6379"
volumes:
- redis_data:/data
restart: unless-stopped
volumes:
psql_volume_bp:
minio_data:
redis_data: