From b143d59b1f55ad08ce36a09206056a0520631ab9 Mon Sep 17 00:00:00 2001 From: saibotk Date: Mon, 4 Dec 2023 18:51:06 +0100 Subject: [PATCH] penpot: Fix config --- roles/penpot/templates/docker-compose.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/roles/penpot/templates/docker-compose.yml b/roles/penpot/templates/docker-compose.yml index 71fe3bd..e39519f 100644 --- a/roles/penpot/templates/docker-compose.yml +++ b/roles/penpot/templates/docker-compose.yml @@ -29,10 +29,7 @@ services: security_opt: - no-new-privileges environment: -{% if penpot_gitlab is defined %} - - PENPOT_GITLAB_CLIENT_ID={{ penpot_gitlab.client_id }} -{% endif %} - - PENPOT_FLAGS={% if penpot_registration_enabled %}enable{% else %}disable{% endif %}-registration disable-demo-users disable-demo-warning disable-login-with-ldap + - PENPOT_FLAGS={% if penpot_registration_enabled %}enable{% else %}disable{% endif %}-registration {% if penpot_gitlab is defined %}enable-login-with-gitlab{% endif %} disable-demo-warning disable-login-with-ldap labels: - "traefik.enable=true" - "traefik.http.routers.penpot.rule=Host(`{{ penpot_domain }}`) && PathPrefix(`/`)" @@ -72,7 +69,7 @@ services: # Should be set to the public domain when penpot is going to be # served. - PENPOT_PUBLIC_URI=https://{{ penpot_domain }} - - PENPOT_FLAGS={% if penpot_registration_enabled %}enable{% else %}disable{% endif %}-registration disable-demo-users disable-login-with-ldap {% if penpot_smtp is defined and penpot_smtp.enabled %}enable{% else %}disable{% endif %}-smtp + - PENPOT_FLAGS={% if penpot_registration_enabled %}enable{% else %}disable{% endif %}-registration {% if penpot_gitlab is defined %}enable-login-with-gitlab{% endif %} disable-login-with-ldap {% if penpot_smtp is defined and penpot_smtp.enabled %}enable{% else %}disable{% endif %}-smtp # comma-separated domains, defaults to `""` which means that all domains are allowed) - PENPOT_REGISTRATION_DOMAIN_WHITELIST="" @@ -97,7 +94,7 @@ services: # completelly in de the database. Storing in the database makes # the backups more easy but will make access to media less # performant. - - ASSETS_STORAGE_BACKEND=assets-fs + - PENPOT_ASSETS_STORAGE_BACKEND=assets-fs - PENPOT_STORAGE_ASSETS_FS_DIRECTORY=/opt/data/assets # Telemetry. When enabled, a periodical process will send