From b7fd2cff4539b97dfd3b70e1d1d26138ed648dd2 Mon Sep 17 00:00:00 2001 From: Laur Ivan Date: Sun, 11 Dec 2022 21:56:33 +0100 Subject: [PATCH] fix: Remove superfluous port declaration. --- defaults/main.yml | 1 - templates/env.outline.conf.j2 | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index a8776bf..9d82f31 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -7,7 +7,6 @@ outline_utils_secret: 'changeme' outline_deployment: '' outline_port: 3000 -outline_public_port: "{{ outline_port }}" outline_url: "http://localhost:{{ outline_public_port }}" outline_force_https: "false" outline_enable_updates: "false" diff --git a/templates/env.outline.conf.j2 b/templates/env.outline.conf.j2 index 13c9eef..14e4cb7 100644 --- a/templates/env.outline.conf.j2 +++ b/templates/env.outline.conf.j2 @@ -18,9 +18,8 @@ REDIS_URL=redis://redis:6379 # Must point to the publicly accessible URL for the installation URL={{ outline_url }} -{% if outline_public_port %} -PORT={{ outline_public_port }} -{% endif %} +PORT=3000 + # Optional. If using a Cloudfront distribution or similar the origin server # should be set to the same as URL.