-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
41 lines (38 loc) · 1.07 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
services:
postgres:
image: samagragovernance/postgres:1.0.1-pg15
restart: always
ports:
- ${DATABASE_PORT}:5432
volumes:
- dataset-db:/var/lib/postgresql/data
environment:
POSTGRES_USER: ${DATABASE_USERNAME}
POSTGRES_PASSWORD: ${DATABASE_PASSWORD}
POSTGRES_DB: ${DATABASE_NAME}
# minio:
# image: minio/minio
# ports:
# - "9000:9000"
# - "9001:9001"
# volumes:
# - minio-data:/data
# environment:
# MINIO_ROOT_USER: ${MINIO_USERNAME}
# MINIO_ROOT_PASSWORD: ${MINIO_PASSWORD}
# command: server --console-address ":9001" /data
# createbuckets:
# image: minio/mc
# depends_on:
# - minio
# entrypoint: >
# /bin/sh -c "
# /usr/bin/mc config host add myminio http://minio:9000 ${MINIO_USERNAME} ${MINIO_PASSWORD};
# /usr/bin/mc rm -r --force myminio/${MINIO_BUCKETNAME};
# /usr/bin/mc mb myminio/${MINIO_BUCKETNAME};
# /usr/bin/mc anonymous set public myminio/${MINIO_BUCKETNAME};
# exit 0;
# "
volumes:
dataset-db:
# minio-data: