Move SECRET_KEY to docker secret

This commit is contained in:
3wc
2023-09-24 18:52:19 +01:00
parent 158537ab52
commit 41b2f8d9c1
2 changed files with 21 additions and 3 deletions

View File

@ -18,8 +18,6 @@ TLS_KEYPAIR_FILENAME=$WEB_DOMAIN/privatekey.key
REDIS_ADDRESS=db
# Set to a randomly generated 16 bytes string
SECRET_KEY=XXXXXXXXXXXXXXXX
# Subnet of the docker network. This should not conflict with any networks to which your system is connected. (Internal and external!)
SUBNET=192.168.203.0/24
@ -105,6 +103,9 @@ COMPRESSION_LEVEL=
# IMAP full-text search is enabled by default. Set the following variable to off in order to disable the feature.
# FULL_TEXT_SEARCH=off
SECRET_SECRET_KEY_VERSION=v1
###################################
# Web settings
###################################