feat(city-service): Add MinIO environment variables for asset storage

This commit is contained in:
Apple
2025-12-02 02:03:24 -08:00
parent 2a80c0be84
commit 8c2f864795

View File

@@ -11,12 +11,20 @@ services:
container_name: daarion-city-service
ports:
- "7001:7001"
env_file:
- .env
environment:
- LOG_LEVEL=INFO
- ENVIRONMENT=production
- DATABASE_URL=postgresql://postgres:postgres@dagi-postgres:5432/daarion
- MATRIX_GATEWAY_URL=http://gateway:9300
- NATS_URL=nats://dagi-nats:4222
# MinIO configuration (from .env)
- MINIO_ENDPOINT=${MINIO_ENDPOINT:-http://minio:9000}
- MINIO_ROOT_USER=${MINIO_ROOT_USER:-assets-admin}
- MINIO_ROOT_PASSWORD=${MINIO_ROOT_PASSWORD}
- ASSETS_BUCKET=${ASSETS_BUCKET:-daarion-assets}
- ASSETS_PUBLIC_BASE_URL=${ASSETS_PUBLIC_BASE_URL:-https://assets.daarion.space/daarion-assets}
depends_on:
- dagi-postgres
- dagi-nats