Added docker-compose. Updated startups for API and Web layer.
Some checks failed
ci / build-test (push) Has been cancelled
ci / publish-image (push) Has been cancelled

This commit is contained in:
2026-02-24 00:25:03 -05:00
parent 80ca1296e5
commit ab3524ea20
13 changed files with 166 additions and 41 deletions

27
docker-compose.yml Normal file
View File

@@ -0,0 +1,27 @@
services:
api:
build:
context: .
dockerfile: JSMR.Api/Dockerfile
ports:
- "5000:8080"
environment:
ASPNETCORE_ENVIRONMENT: ${ASPNETCORE_ENVIRONMENT:-Production}
ConnectionStrings__AppDb: ${APPDB_CONN}
Seq__ServerUrl: ${SEQ_URL:-}
networks:
- app-net
web:
build:
context: .
dockerfile: JSMR.UI.Blazor/Dockerfile
ports:
- "5001:80"
depends_on:
- api
networks:
- app-net
networks:
app-net: {}