Files
portabase/docker-compose.yml
T

66 lines
1.6 KiB
YAML
Raw Normal View History

2024-11-03 11:49:04 +01:00
name: portabase-dev
services:
2026-02-23 12:04:48 +01:00
db:
image: postgres:17-alpine
ports:
- "5433:5432"
volumes:
- postgres-data:/var/lib/postgresql/data
environment:
- POSTGRES_DB=devdb
- POSTGRES_USER=devuser
- POSTGRES_PASSWORD=changeme
healthcheck:
2026-05-15 21:24:11 +02:00
test: [ "CMD-SHELL", "pg_isready -U devuser -d devdb" ]
2026-02-23 12:04:48 +01:00
interval: 10s
timeout: 5s
retries: 5
2024-11-17 21:01:05 +01:00
2026-02-23 12:04:48 +01:00
tusd:
image: tusproject/tusd:v2.8.0
ports:
- "1080:8080"
command: >
-upload-dir /data/uploads/tmp
-hooks-http http://localhost:8887/api/tus/hooks
-max-size 21474836480
-base-path /tus/files/
extra_hosts:
- "localhost:host-gateway"
volumes:
- ./private/uploads/tmp:/data/uploads/tmp
2026-02-23 16:47:01 +01:00
user: "1000:1000"
2026-02-02 21:46:53 +01:00
2026-05-15 21:24:11 +02:00
mailpit:
image: axllent/mailpit:latest
container_name: portabase-mailpit-dev
hostname: mailpit
restart: unless-stopped
ports:
- "8025:8025"
- "1025:1025"
2026-06-20 19:35:40 +02:00
azurite:
image: mcr.microsoft.com/azure-storage/azurite
command: azurite --blobHost 0.0.0.0 --skipApiVersionCheck
ports:
- "10000:10000"
volumes:
- azurite-data:/data
extra_hosts:
- "localhost:host-gateway"
networks:
- portabase
2026-06-21 15:47:23 +02:00
# DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;QueueEndpoint=http://127.0.0.1:10001/devstoreaccount1;TableEndpoint=http://127.0.0.1:10002/devstoreaccount1;
2026-06-20 19:35:40 +02:00
2024-11-03 11:49:04 +01:00
volumes:
2026-02-23 12:04:48 +01:00
postgres-data:
2026-06-20 19:35:40 +02:00
azurite-data:
networks:
portabase:
name: portabase_network
external: true