17 lines
535 B
YAML
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}"
|