mirror of
https://github.com/DorkSquadRR/DorkNet.git
synced 2026-10-25 15:08:47 -07:00
Use external S3 storage
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user