Add SEQ logging/middleware

This commit is contained in:
lumijiez
2025-06-09 20:28:21 +03:00
parent a695e1cce6
commit 5d041a008b
7 changed files with 98 additions and 5 deletions

View File

@@ -4,7 +4,7 @@ services:
context: .
dockerfile: ./src/Imprink.WebApi/Dockerfile
expose:
- "80"
- "8080"
environment:
- ASPNETCORE_ENVIRONMENT=${ASPNETCORE_ENVIRONMENT}
- ConnectionStrings__DefaultConnection=Server=${SQL_SERVER};Database=${SQL_DATABASE};User Id=${SQL_USER_ID};Password=${SQL_PASSWORD};Encrypt=false;TrustServerCertificate=true;MultipleActiveResultSets=true;
@@ -20,6 +20,20 @@ services:
networks:
- app-network
seq:
image: datalust/seq
expose:
- "80"
- "5341"
ports:
- "5341:5341"
environment:
- ACCEPT_EULA=Y
- SEQ_CACHE_SYSTEMRAMTARGET=0.9
- BASE_URI=https://impr.ink/seq
networks:
- app-network
webui:
image: node:18-alpine
working_dir: /app
@@ -45,15 +59,16 @@ services:
networks:
- app-network
mssql:
image: mcr.microsoft.com/mssql/server:2022-latest
container_name: sqlserver
ports:
- "1433:1433"
environment:
SA_PASSWORD: "${SQL_PASSWORD}"
ACCEPT_EULA: "Y"
- SA_PASSWORD=${SQL_PASSWORD}
- ACCEPT_EULA=Y
- MSSQL_AGENT_ENABLED=false
- MSSQL_LOG_LEVEL=WARN
restart: unless-stopped
networks:
- app-network
@@ -70,6 +85,7 @@ services:
depends_on:
- webapi
- webui
- seq
networks:
- app-network