docker-compose.example.yaml was updated
Some checks failed
continuous-integration/drone/pr Build is failing

This commit is contained in:
James Tombleson 2023-07-14 22:25:53 -07:00
parent 71319c05ef
commit 2bc20fccc8

View File

@ -28,11 +28,13 @@ 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"
SERVER_ADDRESS: "localhost" # If this is false then /swagger/index.html will not be active on the API
EnableSwagger: true
JwtSettings__Secret: "ThisNeedsToBeSecretAnd32CharactersLong"
Logging__LogLevel__Default: "Information" Logging__LogLevel__Default: "Information"
Logging__LogLevel__Microsoft.AspNetCore: "Warning" Logging__LogLevel__Microsoft.AspNetCore: "Warning"
@ -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"