2021-05-30 12:02:26 -05:00
|
|
|
# Should be set to the public domain where penpot is going to be served.
|
2021-04-15 04:54:55 -05:00
|
|
|
PENPOT_PUBLIC_URI=http://localhost:9001
|
|
|
|
|
2021-05-30 12:02:26 -05:00
|
|
|
# Standard database connection parameters (only postgresql is supported):
|
2021-04-15 04:54:55 -05:00
|
|
|
PENPOT_DATABASE_URI=postgresql://penpot-postgres/penpot
|
|
|
|
PENPOT_DATABASE_USERNAME=penpot
|
|
|
|
PENPOT_DATABASE_PASSWORD=penpot
|
|
|
|
|
|
|
|
# Redis is used for the websockets notifications.
|
|
|
|
PENPOT_REDIS_URI=redis://penpot-redis/0
|
|
|
|
|
2021-05-30 12:02:26 -05:00
|
|
|
# By default, files uploaded by users are stored in local filesystem. But it
|
|
|
|
# can be configured to store in AWS S3 or completely in de the database.
|
|
|
|
# Storing in the database makes the backups more easy but will make access to
|
|
|
|
# media less performant.
|
2021-07-29 07:36:03 -05:00
|
|
|
ASSETS_STORAGE_BACKEND=assets-fs
|
|
|
|
PENPOT_STORAGE_ASSETS_FS_DIRECTORY=/opt/data/assets
|
2021-04-15 04:54:55 -05:00
|
|
|
|
2021-05-30 12:02:26 -05:00
|
|
|
# Telemetry. When enabled, a periodical process will send anonymous data about
|
|
|
|
# this instance. Telemetry data will enable us to learn on how the application
|
|
|
|
# is used, based on real scenarios. If you want to help us, please leave it
|
|
|
|
# enabled.
|
2021-04-15 04:54:55 -05:00
|
|
|
PENPOT_TELEMETRY_ENABLED=true
|
|
|
|
|
2021-05-30 12:02:26 -05:00
|
|
|
# Email sending configuration. By default, emails are printed in the console,
|
|
|
|
# but for production usage is recommended to setup a real SMTP provider. Emails
|
|
|
|
# are used to confirm user registrations.
|
2021-04-15 04:54:55 -05:00
|
|
|
PENPOT_SMTP_ENABLED=false
|
|
|
|
PENPOT_SMTP_DEFAULT_FROM=no-reply@example.com
|
|
|
|
PENPOT_SMTP_DEFAULT_REPLY_TO=no-reply@example.com
|
|
|
|
# PENPOT_SMTP_HOST=
|
|
|
|
# PENPOT_SMTP_PORT=
|
|
|
|
# PENPOT_SMTP_USERNAME=
|
|
|
|
# PENPOT_SMTP_PASSWORD=
|
|
|
|
# PENPOT_SMTP_TLS=true
|
2021-09-16 04:33:40 -05:00
|
|
|
# PENPOT_SMTP_SSL=false
|
2021-04-15 04:54:55 -05:00
|
|
|
|
2021-09-16 04:28:39 -05:00
|
|
|
# Flags that enables features on frontend applitation.
|
2021-09-16 04:33:40 -05:00
|
|
|
PENPOT_FLAGS="enable-registration enable-demo-users"
|
2021-04-15 04:54:55 -05:00
|
|
|
|
2021-05-30 12:02:26 -05:00
|
|
|
# Comma separated list of allowed domains to register. Empty to allow all.
|
2021-05-27 04:37:31 -05:00
|
|
|
# PENPOT_REGISTRATION_DOMAIN_WHITELIST=""
|
2021-04-15 04:54:55 -05:00
|
|
|
|
|
|
|
## Authentication providers
|
|
|
|
|
|
|
|
# Google
|
|
|
|
# PENPOT_GOOGLE_CLIENT_ID=
|
|
|
|
# PENPOT_GOOGLE_CLIENT_SECRET=
|
|
|
|
|
2021-05-30 11:56:35 -05:00
|
|
|
# GitHub
|
2021-04-15 04:54:55 -05:00
|
|
|
# PENPOT_GITHUB_CLIENT_ID=
|
|
|
|
# PENPOT_GITHUB_CLIENT_SECRET=
|
|
|
|
|
2021-05-30 11:56:35 -05:00
|
|
|
# GitLab
|
2021-04-15 04:54:55 -05:00
|
|
|
# PENPOT_GITLAB_BASE_URI=https://gitlab.com
|
|
|
|
# PENPOT_GITLAB_CLIENT_ID=
|
|
|
|
# PENPOT_GITLAB_CLIENT_SECRET=
|
|
|
|
|
|
|
|
# OpenID Connect (since 1.5.0)
|
|
|
|
# PENPOT_OIDC_BASE_URI=
|
|
|
|
# PENPOT_OIDC_CLIENT_ID=
|
|
|
|
# PENPOT_OIDC_CLIENT_SECRET=
|
|
|
|
|
|
|
|
# LDAP
|
|
|
|
# PENPOT_LDAP_HOST=ldap
|
|
|
|
# PENPOT_LDAP_PORT=10389
|
|
|
|
# PENPOT_LDAP_SSL=false
|
|
|
|
# PENPOT_LDAP_STARTTLS=false
|
|
|
|
# PENPOT_LDAP_BASE_DN=ou=people,dc=planetexpress,dc=com
|
|
|
|
# PENPOT_LDAP_BIND_DN=cn=admin,dc=planetexpress,dc=com
|
|
|
|
# PENPOT_LDAP_BIND_PASSWORD=GoodNewsEveryone
|
|
|
|
# PENPOT_LDAP_ATTRS_USERNAME=uid
|
|
|
|
# PENPOT_LDAP_ATTRS_EMAIL=mail
|
|
|
|
# PENPOT_LDAP_ATTRS_FULLNAME=cn
|
|
|
|
# PENPOT_LDAP_ATTRS_PHOTO=jpegPhoto
|
|
|
|
# PENPOT_LOGIN_WITH_LDAP=true
|