Changes: - Remove deprecated Fengling.Activity and YarpGateway.Admin projects - Add points processing services with distributed lock support - Update Vben frontend with gateway management pages - Add gateway config controller and database listener - Update routing to use header-mixed-nav layout - Add comprehensive test suites for Member services - Add YarpGateway integration tests - Update package versions in Directory.Packages.props Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
59 lines
1.2 KiB
YAML
59 lines
1.2 KiB
YAML
version: '3.8'
|
|
|
|
services:
|
|
# Activity Service
|
|
activity-service:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
ports:
|
|
- "5001:8080"
|
|
environment:
|
|
- ASPNETCORE_ENVIRONMENT=Development
|
|
- ConnectionStrings__PostgreSQL=Host=postgres;Port=15432;Database=fengling_activity;Username=postgres;Password=postgres
|
|
- ConnectionStrings__Redis=Host=redis;Port=6379
|
|
depends_on:
|
|
- postgres
|
|
- redis
|
|
networks:
|
|
- fengling-network
|
|
|
|
# YARP Gateway
|
|
gateway:
|
|
image: mcr.microsoft.com/dotnet/aspnet:10.0
|
|
ports:
|
|
- "5000:8080"
|
|
volumes:
|
|
- ./gateway-config.json:/app/gateway-config.json:ro
|
|
environment:
|
|
- ASPNETCORE_ENVIRONMENT=Development
|
|
networks:
|
|
- fengling-network
|
|
|
|
# PostgreSQL (shared instance)
|
|
postgres:
|
|
image: postgres:14
|
|
environment:
|
|
- POSTGRES_PASSWORD=postgres
|
|
ports:
|
|
- "5432:5432"
|
|
volumes:
|
|
- postgres-data:/var/lib/postgresql/data
|
|
networks:
|
|
- fengling-network
|
|
|
|
# Redis (shared instance)
|
|
redis:
|
|
image: redis:7-alpine
|
|
ports:
|
|
- "6379:6379"
|
|
networks:
|
|
- fengling-network
|
|
|
|
networks:
|
|
fengling-network:
|
|
driver: bridge
|
|
|
|
volumes:
|
|
postgres-data:
|