features/identity-roles #14

Merged
jtom38 merged 11 commits from features/identity-roles into main 2023-07-23 16:24:22 -07:00
Showing only changes of commit 2bc20fccc8 - Show all commits

View File

@ -28,12 +28,14 @@ services:
api: api:
image: newsbot.collector:latest image: newsbot.collector:latest
environment: environment:
# Used for database migrations # This will run the migrations for you on API Startup.
GOOSE_DRIVER: "postgres" "RunDatabaseMigrationsOnStartup": true
GOOSE_DBSTRING: "host=localhost user=${PostgresUser} password=${PostgresPassword} dbname=${PostgresDatabaseName} sslmode=disable"
# If this is false then /swagger/index.html will not be active on the API
SERVER_ADDRESS: "localhost" EnableSwagger: true
JwtSettings__Secret: "ThisNeedsToBeSecretAnd32CharactersLong"
Logging__LogLevel__Default: "Information" Logging__LogLevel__Default: "Information"
Logging__LogLevel__Microsoft.AspNetCore: "Warning" Logging__LogLevel__Microsoft.AspNetCore: "Warning"
Logging__LogLevel__Hangfire: "Information" Logging__LogLevel__Hangfire: "Information"
@ -56,6 +58,8 @@ services:
# If you want to collect news on Final Fantasy XIV, set this to true # If you want to collect news on Final Fantasy XIV, set this to true
FFXIV__IsEnabled: false FFXIV__IsEnabled: false
CodeProjects__IsEnabled: true
healthcheck: healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:5000/health"] test: ["CMD", "curl", "-f", "http://localhost:5000/health"]
interval: "1m" interval: "1m"