penpot: Fix config
This commit is contained in:
parent
811a75a163
commit
b143d59b1f
1 changed files with 3 additions and 6 deletions
|
@ -29,10 +29,7 @@ services:
|
||||||
security_opt:
|
security_opt:
|
||||||
- no-new-privileges
|
- no-new-privileges
|
||||||
environment:
|
environment:
|
||||||
{% if penpot_gitlab is defined %}
|
- 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
|
||||||
- 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
|
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.penpot.rule=Host(`{{ penpot_domain }}`) && PathPrefix(`/`)"
|
- "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
|
# Should be set to the public domain when penpot is going to be
|
||||||
# served.
|
# served.
|
||||||
- PENPOT_PUBLIC_URI=https://{{ penpot_domain }}
|
- 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)
|
# comma-separated domains, defaults to `""` which means that all domains are allowed)
|
||||||
- PENPOT_REGISTRATION_DOMAIN_WHITELIST=""
|
- PENPOT_REGISTRATION_DOMAIN_WHITELIST=""
|
||||||
|
@ -97,7 +94,7 @@ services:
|
||||||
# completelly in de the database. Storing in the database makes
|
# completelly in de the database. Storing in the database makes
|
||||||
# the backups more easy but will make access to media less
|
# the backups more easy but will make access to media less
|
||||||
# performant.
|
# performant.
|
||||||
- ASSETS_STORAGE_BACKEND=assets-fs
|
- PENPOT_ASSETS_STORAGE_BACKEND=assets-fs
|
||||||
- PENPOT_STORAGE_ASSETS_FS_DIRECTORY=/opt/data/assets
|
- PENPOT_STORAGE_ASSETS_FS_DIRECTORY=/opt/data/assets
|
||||||
|
|
||||||
# Telemetry. When enabled, a periodical process will send
|
# Telemetry. When enabled, a periodical process will send
|
||||||
|
|
Loading…
Add table
Reference in a new issue