From 2bc20fccc82f9998ec2994c396d3c71518c5a88d Mon Sep 17 00:00:00 2001 From: James Tombleson Date: Fri, 14 Jul 2023 22:25:53 -0700 Subject: [PATCH] docker-compose.example.yaml was updated --- docker-compose.example.yaml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/docker-compose.example.yaml b/docker-compose.example.yaml index 0ae311c..65bc1ed 100644 --- a/docker-compose.example.yaml +++ b/docker-compose.example.yaml @@ -28,12 +28,14 @@ services: api: image: newsbot.collector:latest environment: - # Used for database migrations - GOOSE_DRIVER: "postgres" - GOOSE_DBSTRING: "host=localhost user=${PostgresUser} password=${PostgresPassword} dbname=${PostgresDatabaseName} sslmode=disable" - - SERVER_ADDRESS: "localhost" - + # This will run the migrations for you on API Startup. + "RunDatabaseMigrationsOnStartup": true + + # 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__Microsoft.AspNetCore: "Warning" Logging__LogLevel__Hangfire: "Information" @@ -56,6 +58,8 @@ services: # If you want to collect news on Final Fantasy XIV, set this to true FFXIV__IsEnabled: false + + CodeProjects__IsEnabled: true healthcheck: test: ["CMD", "curl", "-f", "http://localhost:5000/health"] interval: "1m"