update config

This commit is contained in:
Antonio J. Delgado 2022-11-19 18:07:55 +02:00
parent 9d301c7a23
commit 6b58fe6b43

View file

@ -17,11 +17,11 @@ DB_PORT={{ db_port }}
# Federation # Federation
# Note: Changing LOCAL_DOMAIN or LOCAL_HTTPS at a later time will cause unwanted side effects. # Note: Changing LOCAL_DOMAIN or LOCAL_HTTPS at a later time will cause unwanted side effects.
# LOCAL_DOMAIN should *NOT* contain the protocol part of the domain e.g https://example.com. # LOCAL_DOMAIN should *NOT* contain the protocol part of the domain e.g https://example.com.
LOCAL_DOMAIN={{ local_domain }} LOCAL_DOMAIN={{ mastodon_host }}
LOCAL_HTTPS={{ local_https }} LOCAL_HTTPS={{ local_https }}
{% if web_domain %} {% if web_domain %}
WEB_DOMAIN={{ web_domain }} WEB_DOMAIN={{ mastodon_host }}
{% endif %} {% endif %}
{% if alternate_domains %} {% if alternate_domains %}
@ -30,9 +30,9 @@ ALTERNATE_DOMAINS={{ alternate_domains }}
# Application secrets # Application secrets
# Generate each with the `RAILS_ENV=production bundle exec rake secret` task (`docker-compose run --rm web rake secret` if you use docker compose) # Generate each with the `RAILS_ENV=production bundle exec rake secret` task (`docker-compose run --rm web rake secret` if you use docker compose)
PAPERCLIP_SECRET={{ paperclip_secret }} #PAPERCLIP_SECRET=
SECRET_KEY_BASE={{ secret_key_base }} #SECRET_KEY_BASE=
OTP_SECRET={{ otp_secret }} #OTP_SECRET=
# VAPID keys (used for push notifications # VAPID keys (used for push notifications
# You can generate the keys using the following command (first is the private key, second is the public one) # You can generate the keys using the following command (first is the private key, second is the public one)
@ -42,8 +42,8 @@ OTP_SECRET={{ otp_secret }}
# Generate with `RAILS_ENV=production bundle exec rake mastodon:webpush:generate_vapid_key` task (`docker-compose run --rm web rake mastodon:webpush:generate_vapid_key` if you use docker compose) # Generate with `RAILS_ENV=production bundle exec rake mastodon:webpush:generate_vapid_key` task (`docker-compose run --rm web rake mastodon:webpush:generate_vapid_key` if you use docker compose)
# #
# For more information visit https://rossta.net/blog/using-the-web-push-api-with-vapid.html # For more information visit https://rossta.net/blog/using-the-web-push-api-with-vapid.html
VAPID_PRIVATE_KEY={{ vapid_private_key }} #VAPID_PRIVATE_KEY=
VAPID_PUBLIC_KEY=({ vapid_public_key }) #VAPID_PUBLIC_KEY=
{% if single_user_mode %} {% if single_user_mode %}
# Registrations # Registrations