Use external S3 storage

This commit is contained in:
Alexa
2026-06-15 14:04:49 +03:00
parent 53bf0054fd
commit 7b712d9fa5
+5 -13
View File
@@ -36,10 +36,14 @@ services:
args:
PROJECT_PATH: DorkNet.Services.Rooms/DorkNet.Services.Rooms.csproj
APP_DLL: DorkNet.Services.Rooms.dll
environment:
S3__Endpoint: ${DORKNET_S3_ENDPOINT:-}
S3__AccessKey: ${DORKNET_S3_ACCESS_KEY:-}
S3__SecretKey: ${DORKNET_S3_SECRET_KEY:-}
S3__Region: ${DORKNET_S3_REGION:-garage}
depends_on:
- postgres
- redis
- object-storage
notify:
build:
@@ -63,17 +67,5 @@ services:
redis:
image: redis:7-alpine
object-storage:
image: minio/minio:latest
command: server /data --console-address ":9001"
environment:
MINIO_ROOT_USER: dorknet
MINIO_ROOT_PASSWORD: dorknet_dev_password
ports:
- "9001:9001"
volumes:
- microservices-object-storage:/data
volumes:
microservices-postgres:
microservices-object-storage: