2022-02-02 11:27:52 +01:00
|
|
|
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'
|
2023-02-13 11:16:44 +01:00
|
|
|
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
|
2022-02-02 11:27:52 +01:00
|
|
|
storagehub:
|
2022-07-22 10:33:12 +02:00
|
|
|
build: .
|
2022-02-02 11:27:52 +01:00
|
|
|
ports:
|
2022-06-15 17:49:58 +02:00
|
|
|
- '8081:8080'
|
2022-03-28 18:27:18 +02:00
|
|
|
minio:
|
|
|
|
image: minio/minio
|
|
|
|
ports:
|
2023-05-05 15:58:13 +02:00
|
|
|
- "9000:9000"
|
|
|
|
- "9001:9001"
|
2023-02-13 11:16:44 +01:00
|
|
|
volumes:
|
2023-05-05 15:58:13 +02:00
|
|
|
- minio_storage:/data
|
|
|
|
environment:
|
|
|
|
MINIO_ROOT_USER: SHUBTEST
|
|
|
|
MINIO_ROOT_PASSWORD: wJalrXUtnFEMI/K7MDENG/bPxRfiCY
|
|
|
|
command: server --console-address ":9001" /data
|
2023-02-13 11:16:44 +01:00
|
|
|
|
|
|
|
volumes:
|
2023-05-05 15:58:13 +02:00
|
|
|
minio_storage: {}
|
2022-06-22 18:51:18 +02:00
|
|
|
|