32 lines
837 B
YAML
32 lines
837 B
YAML
version: '3.7'
|
|
services:
|
|
postgres:
|
|
image: postgres:10.5
|
|
restart: always
|
|
environment:
|
|
- POSTGRES_DB=workspace-db
|
|
- POSTGRES_USER=ws-db-user
|
|
- POSTGRES_PASSWORD=dbPwd
|
|
logging:
|
|
options:
|
|
max-size: 10m
|
|
max-file: "3"
|
|
ports:
|
|
- '5423:5432'
|
|
#volumes:
|
|
#- ./postgres-data:/var/lib/postgresql/data
|
|
# copy the sql script to create tables
|
|
# - ./sql/create_tables.sql:/docker-entrypoint-initdb.d/create_tables.sql
|
|
storagehub:
|
|
build: .
|
|
ports:
|
|
- '8081:8080'
|
|
minio:
|
|
image: minio/minio
|
|
environment:
|
|
- "MINIO_ACCESS_KEY=SHUBTEST"
|
|
- "MINIO_SECRET_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCY"
|
|
ports:
|
|
- '9000:9000'
|
|
|