more config documentation

This commit is contained in:
Dan Anglin 2020-03-30 08:34:51 +01:00
parent ad3f4fa0bb
commit 6d1657ea0a
Signed by: dananglin
GPG key ID: 0C1D44CFBEE68638

View file

@ -80,6 +80,7 @@ pleroma:
# This is used to configure the secret_key_base in Pleroma. # This is used to configure the secret_key_base in Pleroma.
# It is used to sign and verify cookies. # It is used to sign and verify cookies.
# To generate this run 'make secret_key_base' # To generate this run 'make secret_key_base'
# The playbook will fail if this field is empty.
secretKeyBase: secretKeyBase:
# field name - pleroma.config.signingSalt # field name - pleroma.config.signingSalt
@ -87,46 +88,83 @@ pleroma:
# This is used to configure the signing_salt in Pleroma. # This is used to configure the signing_salt in Pleroma.
# It is used with the secret_key_base to generate a key for signing and verifying cookies. # It is used with the secret_key_base to generate a key for signing and verifying cookies.
# To generate this run 'make signing_salt' # To generate this run 'make signing_salt'
# The playbook will fail if this field is empty.
signingSalt: signingSalt:
#mrf: # This section configures the... TODO
# simplePolicy: mrf:
# reject: [] simplePolicy:
# federatedTimelineRemoval: [] #reject: []
# mediaRemoval: [] #federatedTimelineRemoval: []
# mediaNsfw: [] #mediaRemoval: []
# reportRemoval: [] #mediaNsfw: []
#frontend: #reportRemoval: []
# background: ""
# themes: # This section configures the Pleroma frontend.
# custom: [] frontend:
# default: pleroma-dark # field name - pleroma.config.frontend.background
# default value - This field is empty by default
# description -
# The path on the Ansible controller to the image
# that will be uploaded to your Pleroma instance and
# used as the default background image.
#background: /path/to/your/background/image
themes:
# field name - pleroma.config.frontend.themes.custom
# default value - An empty list
# description - A list of names and corresponding paths of your custom themes
#custom:
#- name: custom-theme-1
# path: /file/path/to/custom/theme1
#- name: custom-theme-2
# path: /file/path/to/custom/theme2
# field name - pleroma.config.frontend.themes.default
# default value - pleroma-dark
# description -
# The default theme for your instance.
# You can specify one of the default themes or even
# one of your custom theme.
#default: custom-theme-1
webPushEncryption: webPushEncryption:
# field name - # field name - pleroma.config.webPushEncryption.email
# description - # description -
email: *email email: *email
# field name - # field name - pleroma.config.webPushEncryption.privateKey
# description - # description -
# This is the private key to enable browser notifications using VAPID.
# To generate this run 'make vapid_private_key'
# The playbook will fail if this field is empty.
privateKey: privateKey:
# field name - # field name - pleroma.config.webPushEncryption.publicKey
# description - # description -
# The playbook will fail if this field is empty.
publicKey: publicKey:
db: db:
# field name - # field name - pleroma.config.db.password
# description - # description -
# The password to the Pleroma database.
# The playbook will fail if this field is empty.
password: password:
# field name - # field name - pleroma.config.db.name
# description - # description - The name of the Pleroma database.
# default value - # default value - pleroma_db
#name: pleroma #name: pleroma_db
# field name - # field name - pleroma.config.db.user
# description - # description - The name of the database user.
# default value - # default value - pleroma
#user: pleroma #user: pleroma
# field name - pleroma.config.db.connLimit
# description - The number of allowed concurrent connections to the database.
# default value - 15
#connLimit: 15
ssl: ssl:
#csr: #csr:
# countryName: "" # countryName: ""
@ -137,11 +175,20 @@ pleroma:
# stateOrProvinceName: "" # stateOrProvinceName: ""
letsEncrypt: letsEncrypt:
enable: false enable: false
acmeAccountEmail: *email #acmeAccountEmail: *email
acmeDirectory: "https://acme-v02.api.letsencrypt.org/directory" #acmeDirectory: "https://acme-v02.api.letsencrypt.org/directory"
termsAgreed: yes #termsAgreed: yes
validateCerts: true #validateCerts: true
keybase: keybase:
# field name - pleroma.keybase.enable
# default value - false
# description -
# If set to true the playbook will upload your keybase text file and
# configure Nginx in order to prove your Keybase identity against your
# Pleroma instance.
enable: false enable: false
proof: proof:
filepath: "{{ lookup('env','HOME') }}/keybase.txt" # field name - pleroma.keybase.proof.filepath
# default value - ${HOME}/keybase.txt
# description - The file path to your keybase text file on your Ansible controller.
#filepath: "{{ lookup('env','HOME') }}/keybase.txt"