add posibility to configure SECRET_KEY_BASE (#121)

This commit is contained in:
Tizian Rößler
2026-02-04 11:18:34 +01:00
committed by GitHub
parent 089b855d01
commit 3e4ac7ab52
2 changed files with 6 additions and 0 deletions

View File

@@ -8,6 +8,11 @@
#
TAG=17-slim
OPENPROJECT_HTTPS=false
# Please override the SECRET_KEY_BASE
# Please use a pseudo-random value for this and treat it like a password.
# If you are on Linux you can generate a scret key with the following command
# head /dev/urandom | tr -dc A-Za-z0-9 | head -c 32 ; echo ''
SECRET_KEY_BASE=OVERWRITE_ME
OPENPROJECT_HOST__NAME=localhost
PORT=127.0.0.1:8080
OPENPROJECT_RAILS__RELATIVE__URL__ROOT=

View File

@@ -26,6 +26,7 @@ x-op-app: &app
RAILS_MAX_THREADS: ${RAILS_MAX_THREADS:-16}
# set to true to enable the email receiving feature. See ./docker/cron for more options
IMAP_ENABLED: "${IMAP_ENABLED:-false}"
SECRET_KEY_BASE: "${SECRET_KEY_BASE:-OVERWRITE_ME}"
volumes:
- "${OPDATA:-opdata}:/var/openproject/assets"