From 9b1dfa38f355c9659a528f95095b95dc1b4bb26e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=A9taireau?= Date: Mon, 7 Mar 2022 16:39:56 +0100 Subject: [PATCH] Document cookies settings when using local Docker. Secure Session Cookies must be disabled when running things locally and using localhost. Fix #979. --- docs/installation.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/installation.md b/docs/installation.md index 6a9f1e86..6a7db91f 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -44,6 +44,8 @@ mail server and an external database: -e MAIL_USE_SSL=True \ ihatemoney/ihatemoney +If you are running this locally, you might need to disable the secure session cookies, as they do not work locally. You need to pass `-e SESSION_COOKIE_SECURE=False` to docker run. + A volume can also be specified to persist the default database file: docker run -d -p 8000:8000 -v /host/path/to/database:/database ihatemoney/ihatemoney