huntapi/compose.yml
Finn Skov Henriksen 4362d4ca26
All checks were successful
Build / Restore, build and publish (push) Successful in 52s
Build / Build and run Docker container (push) Successful in 59s
ci update
2026-08-31 14:05:09 +02:00

17 lines
535 B
YAML

services:
huntapi:
build:
context: .
dockerfile: Dockerfile
image: huntapi:latest
container_name: huntapi
restart: unless-stopped
ports:
- "${HUNTAPI_HTTP_PORT:-8080}:8080"
environment:
ASPNETCORE_ENVIRONMENT: Production
ConnectionStrings__Default: "${HUNTAPI_CONNECTION_STRING}"
Authentication__JwtSecret: "${HUNTAPI_JWT_SECRET}"
Authentication__Issuer: "${HUNTAPI_JWT_ISSUER:-hunting-app-api}"
Authentication__Audience: "${HUNTAPI_JWT_AUDIENCE:-hunting-app}"