39 lines
868 B
YAML
39 lines
868 B
YAML
services:
|
|
minio:
|
|
image: quay.io/minio/minio
|
|
container_name: minio
|
|
ports:
|
|
- "9000:9000"
|
|
- "9001:9001"
|
|
environment:
|
|
MINIO_ROOT_USER: ${MINIO_ROOT_USER}
|
|
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD}
|
|
volumes:
|
|
- minio_data:/data
|
|
command: server /data --console-address ":9001"
|
|
|
|
db:
|
|
image: postgres
|
|
container_name: geometry_db
|
|
ports:
|
|
- "5436:5432"
|
|
environment:
|
|
POSTGRES_DB: geometrydb
|
|
POSTGRES_USER: ${POSTGRES_USER}
|
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
|
|
volumes:
|
|
postgres_data:
|
|
driver: local
|
|
driver_opts:
|
|
type: none
|
|
device: D:\docker_volumes\postgres_data
|
|
o: bind
|
|
minio_data:
|
|
driver: local
|
|
driver_opts:
|
|
type: none
|
|
device: D:\docker_volumes\minio_data
|
|
o: bind |