storagehub/docker-compose.yml

45 lines
1.1 KiB
YAML
Raw Normal View History

2022-02-02 11:27:52 +01:00
version: '3.7'
services:
postgres:
2024-03-15 14:26:05 +01:00
image: postgres:16.2
2022-02-02 11:27:52 +01:00
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
storagehub:
2022-07-22 10:33:12 +02:00
build: .
2024-03-15 14:26:05 +01:00
environment:
_JAVA_OPTIONS:
-Xdebug
-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:5005
2022-02-02 11:27:52 +01:00
ports:
2024-03-15 14:26:05 +01:00
- '8081:8080'
- '5005:5005'
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