level 4: redis cache etc
This commit is contained in:
+4
-2
@@ -13,6 +13,8 @@ POSTGRES_PASSWORD=replace-with-a-local-password
|
||||
POSTGRES_DB=messenger
|
||||
# Optional. When set, the API reads the URL from this file instead of DATABASE_URL.
|
||||
# DATABASE_URL_FILE=/run/secrets/database_url
|
||||
# Optional on 3, required use on 4 in lab2; Redis OR Valkey:
|
||||
# Optional on 3, required use on 4 in lab2; Redis OR Valkey.
|
||||
# PostgreSQL stores the session. Redis caches the lookup and does not keep its own volume.
|
||||
SESSION_STORE=postgres
|
||||
CACHE_URL_FILE=/run/secrets/cache_url
|
||||
# Compose injects REDIS_URL. When set, this file wins and is not logged.
|
||||
# CACHE_URL_FILE=/run/secrets/cache_url
|
||||
|
||||
Reference in New Issue
Block a user