feature: Ward Gateway Service (Local-First Clinical Path)
This commit is contained in:
@@ -145,6 +145,82 @@ services:
|
||||
networks:
|
||||
- vigilcare_net
|
||||
|
||||
ward-gateway-db:
|
||||
image: postgres:16
|
||||
profiles: ["ward-gateway", "full"]
|
||||
environment:
|
||||
POSTGRES_DB: vigilcare_ward
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: password
|
||||
ports:
|
||||
- "5437:5432"
|
||||
volumes:
|
||||
- ward_pg_data:/var/lib/postgresql/data
|
||||
networks:
|
||||
- vigilcare_net
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
ward-gateway-redis:
|
||||
image: redis:7-alpine
|
||||
profiles: ["ward-gateway", "full"]
|
||||
ports:
|
||||
- "6383:6379"
|
||||
networks:
|
||||
- vigilcare_net
|
||||
|
||||
ward-gateway-rabbitmq:
|
||||
image: rabbitmq:3.13-management-alpine
|
||||
profiles: ["ward-gateway", "full"]
|
||||
ports:
|
||||
- "5675:5672"
|
||||
- "15675:15672"
|
||||
environment:
|
||||
RABBITMQ_DEFAULT_USER: guest
|
||||
RABBITMQ_DEFAULT_PASS: guest
|
||||
healthcheck:
|
||||
test: ["CMD", "rabbitmq-diagnostics", "ping"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
networks:
|
||||
- vigilcare_net
|
||||
|
||||
ward-gateway-api:
|
||||
profiles: ["ward-gateway", "full"]
|
||||
build:
|
||||
context: .
|
||||
dockerfile: VigilCare.WardGateway/Dockerfile
|
||||
ports:
|
||||
- "5081:8080"
|
||||
environment:
|
||||
ASPNETCORE_ENVIRONMENT: Development
|
||||
ConnectionStrings__GatewayDb: "Host=ward-gateway-db;Port=5432;Database=vigilcare_ward;Username=postgres;Password=password"
|
||||
Redis__ConnectionString: "ward-gateway-redis:6379"
|
||||
RabbitMq__Host: ward-gateway-rabbitmq
|
||||
RabbitMq__Port: 5672
|
||||
RabbitMq__PagingAckTimeoutMs: 300000
|
||||
CentralApi__BaseUrl: "http://host.docker.internal:5080"
|
||||
Gateway__GatewayId: "22222222-2222-2222-2222-222222222222"
|
||||
Gateway__SiteId: "11111111-1111-1111-1111-111111111111"
|
||||
Gateway__Department: "ICU"
|
||||
ApiKey__Gateway: "dev-gateway-key-change-in-production"
|
||||
Jwt__SigningKey: "dev-signing-key-minimum-32-bytes-long!!"
|
||||
Jwt__Issuer: "vigilcare-gateway"
|
||||
Jwt__Audience: "vigilcare-dashboard"
|
||||
depends_on:
|
||||
ward-gateway-db:
|
||||
condition: service_healthy
|
||||
ward-gateway-redis:
|
||||
condition: service_started
|
||||
ward-gateway-rabbitmq:
|
||||
condition: service_healthy
|
||||
networks:
|
||||
- vigilcare_net
|
||||
|
||||
volumes:
|
||||
pg_data:
|
||||
seq_data:
|
||||
@@ -153,6 +229,7 @@ volumes:
|
||||
minio_data:
|
||||
prometheus_data:
|
||||
grafana_data:
|
||||
ward_pg_data:
|
||||
|
||||
networks:
|
||||
vigilcare_net:
|
||||
|
||||
Reference in New Issue
Block a user