Implement PostgreSQL storage, sessions and persistence checks
This commit is contained in:
@@ -6,6 +6,8 @@ APP_ENV=lab
|
||||
SESSION_TTL_SECONDS=3600
|
||||
# Choose credentials locally. File paths contain no secret values.
|
||||
DATABASE_URL_FILE=/run/secrets/database_url
|
||||
# Current Go connection check uses this file instead of DATABASE_URL_FILE:
|
||||
DATABASE_PASSWORD_FILE=/run/secrets/postgres_password
|
||||
# Optional on 3, required use on 4 in lab2; Redis OR Valkey:
|
||||
SESSION_STORE=postgres
|
||||
CACHE_URL_FILE=/run/secrets/cache_url
|
||||
|
||||
Reference in New Issue
Block a user