48 lines
1.2 KiB
YAML
48 lines
1.2 KiB
YAML
version: '3.7'
|
|
services:
|
|
postgres:
|
|
image: postgres:16.2
|
|
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:
|
|
- ./data/postgres-data:/var/lib/postgresql/data
|
|
copy the sql script to create tables
|
|
- ./data/sql/create_tables.sql:/docker-entrypoint-initdb.d/create_tables.sql
|
|
storagehub:
|
|
build:
|
|
dockerfile: Dockerfile-standalone
|
|
environment:
|
|
_JAVA_OPTIONS:
|
|
-Xdebug
|
|
-agentlib:jdwp=transport=dt_socket,server=y,suspend=${SUSPEND:-n},address=*:5005
|
|
ports:
|
|
- '8081:8080'
|
|
- '5005:5005'
|
|
volumes:
|
|
- /tmp:/tomcat/temp
|
|
|
|
minio:
|
|
image: minio/minio
|
|
ports:
|
|
- "9000:9000"
|
|
- "9001:9001"
|
|
volumes:
|
|
- minio_storage:/data
|
|
environment:
|
|
MINIO_ROOT_USER: SHUBTEST
|
|
MINIO_ROOT_PASSWORD: wJalrXUtnFEMI/K7MDENG/bPxRfiCY
|
|
command: server --console-address ":9001" /data
|
|
|
|
volumes:
|
|
minio_storage: {}
|
|
|