-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (32 loc) · 904 Bytes
/
docker-compose.yml
File metadata and controls
35 lines (32 loc) · 904 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
version: '3'
services:
#------------------------------------------------
# Database
#------------------------------------------------
database:
image: postgres:13-alpine
ports:
- '${POSTGRES_PORT:-5432}:5432'
volumes:
- database-data:/var/lib/postgresql/data/
environment:
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_DB=${POSTGRES_DB}
#------------------------------------------------
# File storage
#------------------------------------------------
minio:
image: minio/minio
command: server /data --console-address ":9001"
ports:
- '${FILE_STORAGE_PORT:-9000}:9000'
- 9001:9001
environment:
- MINIO_ROOT_USER=${FILE_STORAGE_ACCESS_KEY}
- MINIO_ROOT_PASSWORD=${FILE_STORAGE_SECRET_KEY}
volumes:
- s3-data:/data
volumes:
database-data:
s3-data: