From ebb980eaaf6f8b586cd9c1111ddd0cd96e731423 Mon Sep 17 00:00:00 2001 From: Dessalines <dessalines@users.noreply.github.com> Date: Mon, 5 Apr 2021 10:20:40 -0400 Subject: [PATCH] Fix ansible deploy template. (#1544) * Fix ansible deploy template. * Add ansible comment. * Changing tls to true * Fixing comment line. --- ansible/templates/config.hjson | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/ansible/templates/config.hjson b/ansible/templates/config.hjson index 55537ca5..51d25e77 100644 --- a/ansible/templates/config.hjson +++ b/ansible/templates/config.hjson @@ -4,15 +4,22 @@ # settings related to the postgresql database database: { + database: lemmy + user: lemmy + host: postgres + port: 5432 + pool_size: 5 # password to connect to postgres password: "{{ postgres_password }}" - # host where postgres is running - host: "postgres" } # the domain name of your instance (eg "lemmy.ml") hostname: "{{ domain }}" + # the port where lemmy should listen for incoming requests + port: 8536 # json web token for authorization between server and client jwt_secret: "{{ jwt_password }}" + # whether tls is required for activitypub. only disable this for debugging, never for producion. + tls_enabled: true # email sending configuration email: { # hostname of the smtp server -- 2.44.1