summaryrefslogtreecommitdiffstats
path: root/ansible
diff options
context:
space:
mode:
authorFelix Ableitner <me@nutomic.com>2020-06-24 16:09:52 +0200
committerFelix Ableitner <me@nutomic.com>2020-06-24 16:09:52 +0200
commita9d98fd09bc8cc337266c55a6f2a8e58a421d9aa (patch)
tree19666eb71293750b2c0e863ca459aad56b3a984c /ansible
parentb94d38072982081803605f7439aeaa61af335db2 (diff)
Improve config files by adding documentation and removing some fields
Diffstat (limited to 'ansible')
-rw-r--r--ansible/templates/config.hjson12
1 files changed, 12 insertions, 0 deletions
diff --git a/ansible/templates/config.hjson b/ansible/templates/config.hjson
index c0f387c4..72d7c58c 100644
--- a/ansible/templates/config.hjson
+++ b/ansible/templates/config.hjson
@@ -1,13 +1,25 @@
{
+ # for more info about the config, check out the documentation
+ # https://dev.lemmy.ml/docs/administration_configuration.html
+
+ # settings related to the postgresql database
database: {
+ # password to connect to postgres
password: "{{ postgres_password }}"
+ # host where postgres is running
host: "postgres"
}
+ # the domain name of your instance (eg "dev.lemmy.ml")
hostname: "{{ domain }}"
+ # json web token for authorization between server and client
jwt_secret: "{{ jwt_password }}"
+ # The location of the frontend
front_end_dir: "/app/dist"
+ # email sending configuration
email: {
+ # hostname of the smtp server
smtp_server: "postfix:25"
+ # address to send emails from, eg "noreply@your-instance.com"
smtp_from_address: "noreply@{{ domain }}"
use_tls: false
}