mirror of
https://github.com/DorkSquadRR/DorkNet.git
synced 2026-10-25 15:08:47 -07:00
80 lines
1.8 KiB
YAML
80 lines
1.8 KiB
YAML
services:
|
|
gateway:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.service
|
|
args:
|
|
PROJECT_PATH: DorkNet.Gateway/DorkNet.Gateway.csproj
|
|
APP_DLL: DorkNet.Gateway.dll
|
|
environment:
|
|
DorkNet__Services__Identity: http://identity:8080
|
|
DorkNet__Services__Rooms: http://rooms:8080
|
|
DorkNet__Services__Notify: http://notify:8080
|
|
DorkNet__Services__Monolith: ""
|
|
ports:
|
|
- "8080:8080"
|
|
depends_on:
|
|
- identity
|
|
- rooms
|
|
- notify
|
|
|
|
identity:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.service
|
|
args:
|
|
PROJECT_PATH: DorkNet.Services.Identity/DorkNet.Services.Identity.csproj
|
|
APP_DLL: DorkNet.Services.Identity.dll
|
|
depends_on:
|
|
- postgres
|
|
- redis
|
|
|
|
rooms:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.service
|
|
args:
|
|
PROJECT_PATH: DorkNet.Services.Rooms/DorkNet.Services.Rooms.csproj
|
|
APP_DLL: DorkNet.Services.Rooms.dll
|
|
depends_on:
|
|
- postgres
|
|
- redis
|
|
- object-storage
|
|
|
|
notify:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.service
|
|
args:
|
|
PROJECT_PATH: DorkNet.Services.Notify/DorkNet.Services.Notify.csproj
|
|
APP_DLL: DorkNet.Services.Notify.dll
|
|
depends_on:
|
|
- redis
|
|
|
|
postgres:
|
|
image: postgres:16-alpine
|
|
environment:
|
|
POSTGRES_DB: dorknet
|
|
POSTGRES_USER: dorknet
|
|
POSTGRES_PASSWORD: dorknet_dev
|
|
volumes:
|
|
- microservices-postgres:/var/lib/postgresql/data
|
|
|
|
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:
|