aboutsummaryrefslogtreecommitdiff
path: root/conf/.env.production.sample
diff options
context:
space:
mode:
authorTagada <36127788+Tagadda@users.noreply.github.com>2025-01-02 14:27:38 +0100
committerGitHub <noreply@github.com>2025-01-02 14:27:38 +0100
commit31c04e0d3ad88e7bac36aa61ac6f9b44fca141b0 (patch)
treeceaad486f2b5648d40d8940687fa22b75eb5abed /conf/.env.production.sample
parent8102fffa52a4e3279bba9fbdafb3a0e5b1fe3e17 (diff)
parent0595ab38e0e46f6e2b68a1404f3bb5ce8528a5d0 (diff)
downloadmastodon_ynh-31c04e0d3ad88e7bac36aa61ac6f9b44fca141b0.tar.gz
mastodon_ynh-31c04e0d3ad88e7bac36aa61ac6f9b44fca141b0.tar.bz2
mastodon_ynh-31c04e0d3ad88e7bac36aa61ac6f9b44fca141b0.zip
Merge pull request #478 from YunoHost-Apps/ci-auto-update-4.3.2
Upgrade to v4.3.2
Diffstat (limited to 'conf/.env.production.sample')
-rw-r--r--conf/.env.production.sample21
1 files changed, 16 insertions, 5 deletions
diff --git a/conf/.env.production.sample b/conf/.env.production.sample
index 7005b5d..2abf6c5 100644
--- a/conf/.env.production.sample
+++ b/conf/.env.production.sample
@@ -1,5 +1,5 @@
# This is a sample configuration file. You can generate your configuration
-# with the `rake mastodon:setup` interactive setup wizard, but to customize
+# with the `bundle exec rails mastodon:setup` interactive setup wizard, but to customize
# your setup even further, you'll need to edit it manually. This sample does
# not demonstrate all available configuration options. Please look at
# https://docs.joinmastodon.org/admin/config/ for the full documentation.
@@ -41,14 +41,25 @@ ES_ENABLED=false
# Secrets
# -------
-# Make sure to use `rake secret` to generate secrets
+# Make sure to use `bundle exec rails secret` to generate secrets
# -------
SECRET_KEY_BASE=__SECRET_KEY_BASE__
OTP_SECRET=__OTP_SECRET__
+# Encryption secrets
+# ------------------
+# Must be available (and set to same values) for all server processes
+# These are private/secret values, do not share outside hosting environment
+# Use `bin/rails db:encryption:init` to generate fresh secrets
+# Do not change these secrets once in use, as this would cause data loss and other issues
+# ------------------
+ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY=__ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY__
+ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT=__ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT__
+ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY=__ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY__
+
# Web Push
# --------
-# Generate with `rake mastodon:webpush:generate_vapid_key`
+# Generate with `bundle exec rails mastodon:webpush:generate_vapid_key`
# --------
VAPID_PRIVATE_KEY=__VAPID_PRIVATE_KEY__
VAPID_PUBLIC_KEY=__VAPID_PUBLIC_KEY__
@@ -104,5 +115,5 @@ LDAP_TLS_NO_VERIFY=true
# Make sure to modify the scheduling of ip_cleanup_scheduler in config/sidekiq.yml
# to be less than daily if you lower IP_RETENTION_PERIOD below two days (172800).
# -----------------------
-IP_RETENTION_PERIOD=1209600
-SESSION_RETENTION_PERIOD=1209600
+IP_RETENTION_PERIOD=31556952
+SESSION_RETENTION_PERIOD=31556952