Files
portabase/docker-compose.yml
T

36 lines
774 B
YAML
Raw Normal View History

2024-11-03 11:49:04 +01:00
name: portabase-dev
services:
2025-11-08 20:07:49 +01:00
db:
image: postgres:17-alpine
2025-11-08 20:07:49 +01:00
ports:
- "5433:5432"
2025-11-08 20:07:49 +01:00
volumes:
- postgres-data:/var/lib/postgresql/data
environment:
- POSTGRES_DB=devdb
- POSTGRES_USER=devuser
- POSTGRES_PASSWORD=changeme
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U devuser -d devdb" ]
interval: 10s
timeout: 5s
retries: 5
2024-11-17 21:01:05 +01:00
2026-02-02 21:46:53 +01:00
tusd:
image: tusproject/tusd:v2.8.0
ports:
- "1080:8080"
command: >
2026-02-08 20:42:42 +01:00
-upload-dir /data/uploads/tmp
2026-02-02 21:46:53 +01:00
-hooks-http http://localhost:8887/api/tus/hooks
-max-size 21474836480
2026-02-10 20:25:54 +01:00
-base-path /tus/files/
2026-02-02 21:46:53 +01:00
extra_hosts:
- "localhost:host-gateway"
volumes:
2026-02-08 20:42:42 +01:00
- ./private/uploads/tmp:/data/uploads/tmp
2026-02-02 21:46:53 +01:00
2024-11-03 11:49:04 +01:00
volumes:
2025-11-08 20:07:49 +01:00
postgres-data: