penpot: Fix storage config flags

The flag names changed and thus do not allow media to be uploaded anymore. This applies the new flags for filesystem storage as this commit did in the official repository: 7a94a2f087

Also the documentation does still contain the old env vars, so we raised an issue in penpot/penpot-docs
This commit is contained in:
saibotk 2022-01-02 21:59:18 +01:00
parent c2f6af2dd1
commit 9448ec9995
Signed by: saibotk
GPG key ID: 67585F0065E261D5

View file

@ -83,6 +83,7 @@ services:
- PENPOT_GITLAB_CLIENT_ID={{ penpot_gitlab.client_id }}
- PENPOT_GITLAB_CLIENT_SECRET={{ penpot_gitlab.client_secret }}
{% endif %}
# Standard database connection parametes (only postgresql is supported):
- PENPOT_DATABASE_URI=postgresql://penpot-postgres/penpot
- PENPOT_DATABASE_USERNAME=penpot
@ -96,8 +97,8 @@ services:
# completelly in de the database. Storing in the database makes
# the backups more easy but will make access to media less
# performant.
- PENPOT_STORAGE_BACKEND=fs
- PENPOT_STORAGE_FS_DIRECTORY=/opt/data/assets
- ASSETS_STORAGE_BACKEND=assets-fs
- PENPOT_STORAGE_ASSETS_FS_DIRECTORY=/opt/data/assets
# Telemetry. When enabled, a periodical process will send
# annonymous data about this instance. Telemetry data will
@ -118,8 +119,8 @@ services:
- PENPOT_SMTP_PORT={{ penpot_smtp.port }}
- PENPOT_SMTP_USERNAME={{ penpot_smtp.username }}
- PENPOT_SMTP_PASSWORD={{ penpot_smtp.password }}
- PENPOT_SMTP_TLS={{ penpot_smtp.tls | lower }}
- PENPOT_SMTP_SSL={{ penpot_smtp.ssl | lower }}
- PENPOT_SMTP_TLS={{ penpot_smtp.tls | bool | lower }}
- PENPOT_SMTP_SSL={{ penpot_smtp.ssl | bool | lower }}
{% endif %}
networks:
- penpot