storagehub/docker-compose-standalone.yml

46 lines
1.2 KiB
YAML
Raw Normal View History

2024-03-27 12:04:49 +01:00
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:
2024-04-05 21:11:04 +02:00
- ./data/postgres-data:/var/lib/postgresql/data
2024-03-27 12:04:49 +01:00
copy the sql script to create tables
2024-04-05 21:11:04 +02:00
- ./data/sql/create_tables.sql:/docker-entrypoint-initdb.d/create_tables.sql
2024-03-27 12:04:49 +01:00
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'
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: {}