2025-12-03 21:56:50 +00:00
|
|
|
services:
|
2025-12-13 02:34:34 +00:00
|
|
|
# PostgreSQL - Primary Database
|
|
|
|
|
# Limit: 256MB RAM. Sufficient for local dev schemas.
|
2026-02-11 21:18:57 +00:00
|
|
|
# Port 15432 avoids conflict with other projects using default 5432
|
2025-12-03 21:56:50 +00:00
|
|
|
postgres:
|
2025-12-13 02:34:34 +00:00
|
|
|
image: postgres:16-alpine
|
|
|
|
|
container_name: veza_postgres
|
|
|
|
|
restart: unless-stopped
|
2025-12-03 21:56:50 +00:00
|
|
|
environment:
|
Phase 2 stabilisation: code mort, Modal→Dialog, feature flags, tests, router split, Rust legacy
Bloc A - Code mort:
- Suppression Studio (components, views, features)
- Suppression gamification + services mock (projectService, storageService, gamificationService)
- Mise à jour Sidebar, Navbar, locales
Bloc B - Frontend:
- Suppression modal.tsx deprecated, Modal.stories (doublon Dialog)
- Feature flags: PLAYLIST_SEARCH, PLAYLIST_RECOMMENDATIONS, ROLE_MANAGEMENT = true
- Suppression 19 tests orphelins, retrait exclusions vitest.config
Bloc C - Backend:
- Extraction routes_auth.go depuis router.go
Bloc D - Rust:
- Suppression security_legacy.rs (code mort, patterns déjà dans security/)
2026-02-14 16:23:32 +00:00
|
|
|
POSTGRES_USER: ${POSTGRES_USER:-veza}
|
|
|
|
|
# Use .env for real values; default is for local dev only
|
|
|
|
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-devpassword}
|
|
|
|
|
POSTGRES_DB: ${POSTGRES_DB:-veza}
|
2025-12-03 21:56:50 +00:00
|
|
|
ports:
|
2026-02-11 21:18:57 +00:00
|
|
|
- "${PORT_POSTGRES:-15432}:5432"
|
2025-12-03 21:56:50 +00:00
|
|
|
volumes:
|
|
|
|
|
- postgres_data:/var/lib/postgresql/data
|
|
|
|
|
healthcheck:
|
2026-01-18 12:55:28 +00:00
|
|
|
test: [ "CMD-SHELL", "pg_isready -U veza" ]
|
2025-12-03 21:56:50 +00:00
|
|
|
interval: 5s
|
|
|
|
|
timeout: 5s
|
|
|
|
|
retries: 5
|
2026-02-11 21:18:57 +00:00
|
|
|
networks:
|
|
|
|
|
- veza-net
|
2025-12-13 02:34:34 +00:00
|
|
|
deploy:
|
|
|
|
|
resources:
|
|
|
|
|
limits:
|
|
|
|
|
cpus: '0.50'
|
|
|
|
|
memory: 256M
|
|
|
|
|
reservations:
|
|
|
|
|
memory: 128M
|
2025-12-03 21:56:50 +00:00
|
|
|
|
2025-12-13 02:34:34 +00:00
|
|
|
# Redis - Cache & PubSub
|
2026-02-11 21:18:57 +00:00
|
|
|
# Limit: 64MB RAM. Port 16379 avoids conflict with other projects (default 6379)
|
2025-12-03 21:56:50 +00:00
|
|
|
redis:
|
|
|
|
|
image: redis:7-alpine
|
2025-12-13 02:34:34 +00:00
|
|
|
container_name: veza_redis
|
|
|
|
|
restart: unless-stopped
|
2025-12-03 21:56:50 +00:00
|
|
|
ports:
|
2026-02-11 21:18:57 +00:00
|
|
|
- "${PORT_REDIS:-16379}:6379"
|
2025-12-03 21:56:50 +00:00
|
|
|
volumes:
|
|
|
|
|
- redis_data:/data
|
|
|
|
|
healthcheck:
|
2026-01-18 12:55:28 +00:00
|
|
|
test: [ "CMD", "redis-cli", "ping" ]
|
2025-12-03 21:56:50 +00:00
|
|
|
interval: 5s
|
|
|
|
|
timeout: 3s
|
|
|
|
|
retries: 5
|
2026-02-11 21:18:57 +00:00
|
|
|
networks:
|
|
|
|
|
- veza-net
|
2025-12-13 02:34:34 +00:00
|
|
|
deploy:
|
|
|
|
|
resources:
|
|
|
|
|
limits:
|
|
|
|
|
cpus: '0.25'
|
|
|
|
|
memory: 64M
|
|
|
|
|
reservations:
|
|
|
|
|
memory: 32M
|
2025-12-03 21:56:50 +00:00
|
|
|
|
2026-02-18 11:03:14 +00:00
|
|
|
# ClamAV - Virus scanning for uploads (v0.101)
|
|
|
|
|
clamav:
|
|
|
|
|
image: clamav/clamav:latest
|
|
|
|
|
container_name: veza_clamav
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
ports:
|
|
|
|
|
- "${PORT_CLAMAV:-13310}:3310"
|
|
|
|
|
networks:
|
|
|
|
|
- veza-net
|
|
|
|
|
healthcheck:
|
|
|
|
|
test: ["CMD", "clamdscan", "--ping", "1"]
|
|
|
|
|
interval: 30s
|
|
|
|
|
timeout: 10s
|
|
|
|
|
retries: 5
|
|
|
|
|
start_period: 180s
|
|
|
|
|
deploy:
|
|
|
|
|
resources:
|
|
|
|
|
limits:
|
|
|
|
|
cpus: '0.5'
|
|
|
|
|
memory: 1G
|
|
|
|
|
|
2025-12-13 02:34:34 +00:00
|
|
|
# RabbitMQ - Message Broker
|
2026-02-11 21:18:57 +00:00
|
|
|
# Limit: 256MB RAM. Host 15672->AMQP(5672), 25672->Management(15672)
|
2025-12-03 21:56:50 +00:00
|
|
|
rabbitmq:
|
2025-12-13 02:34:34 +00:00
|
|
|
image: rabbitmq:3-management-alpine
|
|
|
|
|
container_name: veza_rabbitmq
|
|
|
|
|
restart: unless-stopped
|
2025-12-03 21:56:50 +00:00
|
|
|
environment:
|
Phase 2 stabilisation: code mort, Modal→Dialog, feature flags, tests, router split, Rust legacy
Bloc A - Code mort:
- Suppression Studio (components, views, features)
- Suppression gamification + services mock (projectService, storageService, gamificationService)
- Mise à jour Sidebar, Navbar, locales
Bloc B - Frontend:
- Suppression modal.tsx deprecated, Modal.stories (doublon Dialog)
- Feature flags: PLAYLIST_SEARCH, PLAYLIST_RECOMMENDATIONS, ROLE_MANAGEMENT = true
- Suppression 19 tests orphelins, retrait exclusions vitest.config
Bloc C - Backend:
- Extraction routes_auth.go depuis router.go
Bloc D - Rust:
- Suppression security_legacy.rs (code mort, patterns déjà dans security/)
2026-02-14 16:23:32 +00:00
|
|
|
RABBITMQ_DEFAULT_USER: ${RABBITMQ_DEFAULT_USER:-veza}
|
|
|
|
|
# Use .env for real values; default is for local dev only
|
|
|
|
|
RABBITMQ_DEFAULT_PASS: ${RABBITMQ_DEFAULT_PASS:-devpassword}
|
2025-12-13 02:34:34 +00:00
|
|
|
ports:
|
2026-02-11 21:18:57 +00:00
|
|
|
- "${PORT_RABBITMQ_AMQP:-15672}:5672" # AMQP (messaging)
|
|
|
|
|
- "${PORT_RABBITMQ_MGMT:-25672}:15672" # Management UI
|
2025-12-03 21:56:50 +00:00
|
|
|
volumes:
|
|
|
|
|
- rabbitmq_data:/var/lib/rabbitmq
|
|
|
|
|
healthcheck:
|
2025-12-13 02:34:34 +00:00
|
|
|
test: rabbitmq-diagnostics -q ping
|
2026-02-11 21:18:57 +00:00
|
|
|
interval: 5s
|
|
|
|
|
timeout: 5s
|
|
|
|
|
retries: 10
|
|
|
|
|
start_period: 40s
|
|
|
|
|
networks:
|
|
|
|
|
- veza-net
|
2025-12-13 02:34:34 +00:00
|
|
|
deploy:
|
|
|
|
|
resources:
|
|
|
|
|
limits:
|
|
|
|
|
cpus: '0.50'
|
2026-01-18 12:55:28 +00:00
|
|
|
memory: 512M
|
2025-12-13 02:34:34 +00:00
|
|
|
reservations:
|
2026-01-18 12:55:28 +00:00
|
|
|
memory: 256M
|
2026-02-11 21:18:57 +00:00
|
|
|
|
2026-02-14 20:45:15 +00:00
|
|
|
# Hyperswitch - Payment router (optional, for payment integration)
|
|
|
|
|
hyperswitch_postgres:
|
|
|
|
|
image: postgres:16-alpine
|
|
|
|
|
container_name: veza_hyperswitch_postgres
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
environment:
|
|
|
|
|
POSTGRES_USER: ${HYPERSWITCH_DB_USER:-hyperswitch}
|
|
|
|
|
POSTGRES_PASSWORD: ${HYPERSWITCH_DB_PASSWORD:-hyperswitch_dev}
|
|
|
|
|
POSTGRES_DB: ${HYPERSWITCH_DB_NAME:-hyperswitch}
|
|
|
|
|
volumes:
|
|
|
|
|
- hyperswitch_postgres_data:/var/lib/postgresql/data
|
|
|
|
|
healthcheck:
|
|
|
|
|
test: ["CMD-SHELL", "pg_isready -U ${HYPERSWITCH_DB_USER:-hyperswitch}"]
|
|
|
|
|
interval: 5s
|
|
|
|
|
timeout: 5s
|
|
|
|
|
retries: 5
|
|
|
|
|
networks:
|
|
|
|
|
- veza-net
|
|
|
|
|
deploy:
|
|
|
|
|
resources:
|
|
|
|
|
limits:
|
|
|
|
|
cpus: "0.25"
|
|
|
|
|
memory: 128M
|
|
|
|
|
profiles:
|
|
|
|
|
- payments
|
|
|
|
|
|
|
|
|
|
hyperswitch:
|
|
|
|
|
image: juspaydotin/hyperswitch-router:2025.01.21.0-standalone
|
|
|
|
|
container_name: veza_hyperswitch
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
environment:
|
|
|
|
|
DATABASE_URL: postgresql://${HYPERSWITCH_DB_USER:-hyperswitch}:${HYPERSWITCH_DB_PASSWORD:-hyperswitch_dev}@hyperswitch_postgres:5432/${HYPERSWITCH_DB_NAME:-hyperswitch}?sslmode=disable
|
|
|
|
|
REDIS_URL: redis://redis:6379
|
|
|
|
|
ports:
|
|
|
|
|
- "${PORT_HYPERSWITCH:-18081}:8080"
|
|
|
|
|
depends_on:
|
|
|
|
|
hyperswitch_postgres:
|
|
|
|
|
condition: service_healthy
|
|
|
|
|
redis:
|
|
|
|
|
condition: service_healthy
|
|
|
|
|
networks:
|
|
|
|
|
- veza-net
|
|
|
|
|
healthcheck:
|
|
|
|
|
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:8080/health"]
|
|
|
|
|
interval: 10s
|
|
|
|
|
timeout: 5s
|
|
|
|
|
retries: 3
|
|
|
|
|
profiles:
|
|
|
|
|
- payments
|
|
|
|
|
|
2026-02-11 21:18:57 +00:00
|
|
|
# Backend API (Docker dev)
|
2026-01-26 13:12:17 +00:00
|
|
|
backend-api:
|
|
|
|
|
build:
|
|
|
|
|
context: ./veza-backend-api
|
|
|
|
|
container_name: veza_backend_dev
|
|
|
|
|
environment:
|
|
|
|
|
- APP_ENV=development
|
Phase 2 stabilisation: code mort, Modal→Dialog, feature flags, tests, router split, Rust legacy
Bloc A - Code mort:
- Suppression Studio (components, views, features)
- Suppression gamification + services mock (projectService, storageService, gamificationService)
- Mise à jour Sidebar, Navbar, locales
Bloc B - Frontend:
- Suppression modal.tsx deprecated, Modal.stories (doublon Dialog)
- Feature flags: PLAYLIST_SEARCH, PLAYLIST_RECOMMENDATIONS, ROLE_MANAGEMENT = true
- Suppression 19 tests orphelins, retrait exclusions vitest.config
Bloc C - Backend:
- Extraction routes_auth.go depuis router.go
Bloc D - Rust:
- Suppression security_legacy.rs (code mort, patterns déjà dans security/)
2026-02-14 16:23:32 +00:00
|
|
|
- DATABASE_URL=postgresql://${POSTGRES_USER:-veza}:${POSTGRES_PASSWORD:-devpassword}@postgres:5432/${POSTGRES_DB:-veza}?sslmode=disable
|
2026-01-26 13:12:17 +00:00
|
|
|
- REDIS_URL=redis://redis:6379
|
Phase 2 stabilisation: code mort, Modal→Dialog, feature flags, tests, router split, Rust legacy
Bloc A - Code mort:
- Suppression Studio (components, views, features)
- Suppression gamification + services mock (projectService, storageService, gamificationService)
- Mise à jour Sidebar, Navbar, locales
Bloc B - Frontend:
- Suppression modal.tsx deprecated, Modal.stories (doublon Dialog)
- Feature flags: PLAYLIST_SEARCH, PLAYLIST_RECOMMENDATIONS, ROLE_MANAGEMENT = true
- Suppression 19 tests orphelins, retrait exclusions vitest.config
Bloc C - Backend:
- Extraction routes_auth.go depuis router.go
Bloc D - Rust:
- Suppression security_legacy.rs (code mort, patterns déjà dans security/)
2026-02-14 16:23:32 +00:00
|
|
|
- JWT_SECRET=${JWT_SECRET:-dev-secret-key-minimum-32-characters-long}
|
2026-01-26 13:12:17 +00:00
|
|
|
- COOKIE_SECURE=false # false en dev local
|
2026-02-11 21:18:57 +00:00
|
|
|
- COOKIE_SAME_SITE=lax
|
2026-01-26 13:12:17 +00:00
|
|
|
- COOKIE_DOMAIN=
|
|
|
|
|
- COOKIE_HTTP_ONLY=true
|
|
|
|
|
- COOKIE_PATH=/
|
2026-02-11 21:18:57 +00:00
|
|
|
- CORS_ALLOWED_ORIGINS=http://veza.fr:3000,http://veza.fr:5173
|
Phase 2 stabilisation: code mort, Modal→Dialog, feature flags, tests, router split, Rust legacy
Bloc A - Code mort:
- Suppression Studio (components, views, features)
- Suppression gamification + services mock (projectService, storageService, gamificationService)
- Mise à jour Sidebar, Navbar, locales
Bloc B - Frontend:
- Suppression modal.tsx deprecated, Modal.stories (doublon Dialog)
- Feature flags: PLAYLIST_SEARCH, PLAYLIST_RECOMMENDATIONS, ROLE_MANAGEMENT = true
- Suppression 19 tests orphelins, retrait exclusions vitest.config
Bloc C - Backend:
- Extraction routes_auth.go depuis router.go
Bloc D - Rust:
- Suppression security_legacy.rs (code mort, patterns déjà dans security/)
2026-02-14 16:23:32 +00:00
|
|
|
- RABBITMQ_URL=amqp://${RABBITMQ_DEFAULT_USER:-veza}:${RABBITMQ_DEFAULT_PASS:-devpassword}@rabbitmq:5672/
|
2026-02-18 11:03:14 +00:00
|
|
|
- ENABLE_CLAMAV=true
|
|
|
|
|
- CLAMAV_REQUIRED=false
|
|
|
|
|
- CLAMAV_ADDRESS=clamav:3310
|
feat(v0.501): Sprint 1 -- infrastructure foundations
- Add MinIO S3-compatible storage to docker-compose (dev, staging, prod)
- Create migrations 103-108 (waveform_url, user_folders, user_files,
user_storage_quotas, gear_items.is_public, gear_images)
- Add Go models: UserFile, UserFolder, StorageQuota, GearImage
- Add WaveformURL to Track model, IsPublic + GearImages to GearItem model
2026-02-22 17:10:25 +00:00
|
|
|
- AWS_S3_ENDPOINT=http://minio:9000
|
|
|
|
|
- AWS_S3_BUCKET=veza-files
|
|
|
|
|
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID:-minioadmin}
|
|
|
|
|
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY:-minioadmin}
|
|
|
|
|
- AWS_REGION=us-east-1
|
2026-02-22 20:20:35 +00:00
|
|
|
- HLS_STREAMING=true
|
|
|
|
|
- HLS_STORAGE_DIR=/data/hls
|
|
|
|
|
volumes:
|
|
|
|
|
- hls-data:/data/hls
|
2026-01-26 13:12:17 +00:00
|
|
|
ports:
|
2026-02-11 21:18:57 +00:00
|
|
|
- "${PORT_BACKEND:-18080}:8080"
|
2026-01-26 13:12:17 +00:00
|
|
|
depends_on:
|
|
|
|
|
postgres:
|
|
|
|
|
condition: service_healthy
|
|
|
|
|
redis:
|
|
|
|
|
condition: service_healthy
|
2026-02-11 21:18:57 +00:00
|
|
|
rabbitmq:
|
|
|
|
|
condition: service_healthy
|
2026-02-18 11:03:14 +00:00
|
|
|
clamav:
|
|
|
|
|
condition: service_started
|
2026-02-11 21:18:57 +00:00
|
|
|
networks:
|
|
|
|
|
- veza-net
|
|
|
|
|
healthcheck:
|
|
|
|
|
test: ["CMD", "curl", "-f", "http://localhost:8080/api/v1/health"]
|
2026-01-26 13:12:17 +00:00
|
|
|
interval: 10s
|
|
|
|
|
timeout: 5s
|
|
|
|
|
retries: 5
|
|
|
|
|
|
feat(chat): Sprint 4 -- Docker cleanup, frontend migration to Go WS
- Remove Rust chat-server from docker-compose.yml, staging.yml, prod.yml
- Remove VITE_WS_URL from docker frontend env vars (auto-derived from API_URL)
- Update env.ts: derive WS_URL from API_URL (/api/v1/ws) when not explicitly set
- Remove 127.0.0.1:8081 dev hack from useChat.ts
- Add missing types: EditMessage, DeleteMessage, FetchHistory, SearchMessages,
SyncMessages, MessageEdited, MessageDeleted, SearchResults, SyncChunk
- Update MSW chat/token handler to return ws_url: /api/v1/ws
- Update .env.example and .env.storybook
2026-02-22 19:46:58 +00:00
|
|
|
# Chat Server removed in v0.502 -- chat is now handled by backend-api WebSocket at /api/v1/ws
|
2026-02-18 11:03:47 +00:00
|
|
|
|
2026-03-10 09:21:57 +00:00
|
|
|
# Nginx-RTMP - v0.10.6 F471: Live stream ingest (OBS -> RTMP, HLS out)
|
|
|
|
|
nginx-rtmp:
|
|
|
|
|
image: alfg/nginx-rtmp
|
|
|
|
|
container_name: veza_nginx_rtmp
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
ports:
|
|
|
|
|
- "${PORT_RTMP:-1935}:1935"
|
|
|
|
|
- "${PORT_RTMP_HTTP:-18083}:8080"
|
|
|
|
|
volumes:
|
|
|
|
|
- ./infra/nginx-rtmp/nginx.conf:/etc/nginx/nginx.conf:ro
|
|
|
|
|
depends_on:
|
|
|
|
|
- backend-api
|
|
|
|
|
networks:
|
|
|
|
|
- veza-net
|
|
|
|
|
profiles:
|
|
|
|
|
- live
|
|
|
|
|
|
2026-02-18 11:03:47 +00:00
|
|
|
# Stream Server (Rust) - v0.101
|
|
|
|
|
stream-server:
|
|
|
|
|
build:
|
2026-02-18 11:38:16 +00:00
|
|
|
context: .
|
|
|
|
|
dockerfile: veza-stream-server/Dockerfile
|
2026-02-18 11:03:47 +00:00
|
|
|
container_name: veza_stream_dev
|
|
|
|
|
environment:
|
|
|
|
|
- DATABASE_URL=postgresql://${POSTGRES_USER:-veza}:${POSTGRES_PASSWORD:-devpassword}@postgres:5432/${POSTGRES_DB:-veza}?sslmode=disable
|
|
|
|
|
- REDIS_URL=redis://redis:6379
|
|
|
|
|
- JWT_SECRET=${JWT_SECRET:-dev-secret-key-minimum-32-characters-long}
|
|
|
|
|
- SECRET_KEY=${JWT_SECRET:-dev-secret-key-minimum-32-characters-long}
|
|
|
|
|
- PORT=3001
|
feat(v0.501): Sprint 1 -- infrastructure foundations
- Add MinIO S3-compatible storage to docker-compose (dev, staging, prod)
- Create migrations 103-108 (waveform_url, user_folders, user_files,
user_storage_quotas, gear_items.is_public, gear_images)
- Add Go models: UserFile, UserFolder, StorageQuota, GearImage
- Add WaveformURL to Track model, IsPublic + GearImages to GearItem model
2026-02-22 17:10:25 +00:00
|
|
|
- AWS_S3_ENDPOINT=http://minio:9000
|
|
|
|
|
- AWS_S3_BUCKET=veza-files
|
|
|
|
|
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID:-minioadmin}
|
|
|
|
|
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY:-minioadmin}
|
|
|
|
|
- AWS_REGION=us-east-1
|
2026-02-22 20:20:35 +00:00
|
|
|
- HLS_OUTPUT_DIR=/data/hls
|
|
|
|
|
volumes:
|
|
|
|
|
- hls-data:/data/hls
|
2026-02-18 11:03:47 +00:00
|
|
|
ports:
|
|
|
|
|
- "${PORT_STREAM:-18082}:3001"
|
|
|
|
|
depends_on:
|
|
|
|
|
postgres:
|
|
|
|
|
condition: service_healthy
|
|
|
|
|
redis:
|
|
|
|
|
condition: service_healthy
|
|
|
|
|
networks:
|
|
|
|
|
- veza-net
|
|
|
|
|
healthcheck:
|
|
|
|
|
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:3001/health"]
|
|
|
|
|
interval: 10s
|
|
|
|
|
timeout: 5s
|
|
|
|
|
retries: 5
|
|
|
|
|
|
feat(v0.501): Sprint 1 -- infrastructure foundations
- Add MinIO S3-compatible storage to docker-compose (dev, staging, prod)
- Create migrations 103-108 (waveform_url, user_folders, user_files,
user_storage_quotas, gear_items.is_public, gear_images)
- Add Go models: UserFile, UserFolder, StorageQuota, GearImage
- Add WaveformURL to Track model, IsPublic + GearImages to GearItem model
2026-02-22 17:10:25 +00:00
|
|
|
# MinIO - S3-compatible object storage (v0.501 Cloud Storage)
|
|
|
|
|
minio:
|
|
|
|
|
image: minio/minio:latest
|
|
|
|
|
container_name: veza_minio
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
command: server /data --console-address ":9001"
|
|
|
|
|
environment:
|
|
|
|
|
MINIO_ROOT_USER: ${AWS_ACCESS_KEY_ID:-minioadmin}
|
|
|
|
|
MINIO_ROOT_PASSWORD: ${AWS_SECRET_ACCESS_KEY:-minioadmin}
|
|
|
|
|
ports:
|
|
|
|
|
- "${PORT_MINIO:-19000}:9000"
|
|
|
|
|
- "${PORT_MINIO_CONSOLE:-19001}:9001"
|
|
|
|
|
volumes:
|
|
|
|
|
- minio_data:/data
|
|
|
|
|
healthcheck:
|
|
|
|
|
test: ["CMD", "mc", "ready", "local"]
|
|
|
|
|
interval: 10s
|
|
|
|
|
timeout: 5s
|
|
|
|
|
retries: 5
|
|
|
|
|
networks:
|
|
|
|
|
- veza-net
|
|
|
|
|
|
|
|
|
|
# MinIO bucket initialization
|
|
|
|
|
minio-init:
|
|
|
|
|
image: minio/mc:latest
|
|
|
|
|
depends_on:
|
|
|
|
|
minio:
|
|
|
|
|
condition: service_healthy
|
|
|
|
|
entrypoint: >
|
|
|
|
|
/bin/sh -c "
|
|
|
|
|
mc alias set veza http://minio:9000 $${MINIO_ROOT_USER:-minioadmin} $${MINIO_ROOT_PASSWORD:-minioadmin};
|
|
|
|
|
mc mb --ignore-existing veza/veza-files;
|
|
|
|
|
mc anonymous set download veza/veza-files/public;
|
|
|
|
|
exit 0;
|
|
|
|
|
"
|
|
|
|
|
environment:
|
|
|
|
|
MINIO_ROOT_USER: ${AWS_ACCESS_KEY_ID:-minioadmin}
|
|
|
|
|
MINIO_ROOT_PASSWORD: ${AWS_SECRET_ACCESS_KEY:-minioadmin}
|
|
|
|
|
networks:
|
|
|
|
|
- veza-net
|
|
|
|
|
|
2025-12-03 21:56:50 +00:00
|
|
|
volumes:
|
|
|
|
|
postgres_data:
|
|
|
|
|
redis_data:
|
2026-01-18 12:55:28 +00:00
|
|
|
rabbitmq_data:
|
2026-02-14 20:45:15 +00:00
|
|
|
hyperswitch_postgres_data:
|
feat(v0.501): Sprint 1 -- infrastructure foundations
- Add MinIO S3-compatible storage to docker-compose (dev, staging, prod)
- Create migrations 103-108 (waveform_url, user_folders, user_files,
user_storage_quotas, gear_items.is_public, gear_images)
- Add Go models: UserFile, UserFolder, StorageQuota, GearImage
- Add WaveformURL to Track model, IsPublic + GearImages to GearItem model
2026-02-22 17:10:25 +00:00
|
|
|
minio_data:
|
2026-02-22 20:20:35 +00:00
|
|
|
hls-data:
|
2026-02-11 21:18:57 +00:00
|
|
|
|
|
|
|
|
networks:
|
|
|
|
|
veza-net:
|
|
|
|
|
driver: bridge
|