mirror of
https://github.com/penpot/penpot.git
synced 2025-05-05 04:45:54 +02:00
📎 Clean and improve default docker config.env file
This commit is contained in:
parent
fa06da36ac
commit
ccae7cc2d4
1 changed files with 44 additions and 28 deletions
|
@ -1,34 +1,48 @@
|
||||||
# Should be set to the public domain where penpot is going to be served.
|
## Should be set to the public domain where penpot is going to be served.
|
||||||
|
##
|
||||||
|
## NOTE: If you are going to serve it under different domain than
|
||||||
|
## 'localhost' without HTTPS, consider setting the
|
||||||
|
## `disable-secure-session-cookies' flag on the 'PENPOT_FLAGS'
|
||||||
|
## setting.
|
||||||
|
|
||||||
PENPOT_PUBLIC_URI=http://localhost:9001
|
PENPOT_PUBLIC_URI=http://localhost:9001
|
||||||
PENPOT_TENANT=pro
|
PENPOT_TENANT=pro
|
||||||
|
|
||||||
# Temporal workaround because of bad builtin default
|
## Feature flags.
|
||||||
|
|
||||||
|
PENPOT_FLAGS="enable-registration enable-login"
|
||||||
|
|
||||||
|
## Temporal workaround because of bad builtin default
|
||||||
|
|
||||||
PENPOT_HTTP_SERVER_HOST=0.0.0.0
|
PENPOT_HTTP_SERVER_HOST=0.0.0.0
|
||||||
|
|
||||||
# Standard database connection parameters (only postgresql is supported):
|
## Standard database connection parameters (only postgresql is supported):
|
||||||
|
|
||||||
PENPOT_DATABASE_URI=postgresql://penpot-postgres/penpot
|
PENPOT_DATABASE_URI=postgresql://penpot-postgres/penpot
|
||||||
PENPOT_DATABASE_USERNAME=penpot
|
PENPOT_DATABASE_USERNAME=penpot
|
||||||
PENPOT_DATABASE_PASSWORD=penpot
|
PENPOT_DATABASE_PASSWORD=penpot
|
||||||
|
|
||||||
# Redis is used for the websockets notifications.
|
## Redis is used for the websockets notifications.
|
||||||
|
|
||||||
PENPOT_REDIS_URI=redis://penpot-redis/0
|
PENPOT_REDIS_URI=redis://penpot-redis/0
|
||||||
|
|
||||||
# By default, files uploaded by users are stored in local filesystem. But it
|
## By default, files uploaded by users are stored in local
|
||||||
# can be configured to store in AWS S3 or completely in de the database.
|
## filesystem. But it can be configured to store in AWS S3.
|
||||||
# Storing in the database makes the backups more easy but will make access to
|
|
||||||
# media less performant.
|
|
||||||
PENPOT_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 anonymous data about
|
## Telemetry. When enabled, a periodical process will send anonymous
|
||||||
# this instance. Telemetry data will enable us to learn on how the application
|
## data about this instance. Telemetry data will enable us to learn on
|
||||||
# is used, based on real scenarios. If you want to help us, please leave it
|
## how the application is used, based on real scenarios. If you want
|
||||||
# enabled.
|
## to help us, please leave it enabled.
|
||||||
|
|
||||||
PENPOT_TELEMETRY_ENABLED=true
|
PENPOT_TELEMETRY_ENABLED=true
|
||||||
|
|
||||||
# Email sending configuration. By default, emails are printed in the console,
|
## Email sending configuration. By default, emails are printed in the
|
||||||
# but for production usage is recommended to setup a real SMTP provider. Emails
|
## console, but for production usage is recommended to setup a real
|
||||||
# are used to confirm user registrations.
|
## SMTP provider. Emails are used to confirm user registrations.
|
||||||
|
|
||||||
PENPOT_SMTP_ENABLED=false
|
PENPOT_SMTP_ENABLED=false
|
||||||
PENPOT_SMTP_DEFAULT_FROM=no-reply@example.com
|
PENPOT_SMTP_DEFAULT_FROM=no-reply@example.com
|
||||||
PENPOT_SMTP_DEFAULT_REPLY_TO=no-reply@example.com
|
PENPOT_SMTP_DEFAULT_REPLY_TO=no-reply@example.com
|
||||||
|
@ -39,34 +53,40 @@ PENPOT_SMTP_DEFAULT_REPLY_TO=no-reply@example.com
|
||||||
# PENPOT_SMTP_TLS=true
|
# PENPOT_SMTP_TLS=true
|
||||||
# PENPOT_SMTP_SSL=false
|
# PENPOT_SMTP_SSL=false
|
||||||
|
|
||||||
# Feature flags. Right now they are only affect frontend, but in
|
## Comma separated list of allowed domains to register. Empty to allow
|
||||||
# future release they will affect to both backend and frontend.
|
## all.
|
||||||
PENPOT_FLAGS="enable-registration"
|
|
||||||
|
|
||||||
# Comma separated list of allowed domains to register. Empty to allow all.
|
|
||||||
# PENPOT_REGISTRATION_DOMAIN_WHITELIST=""
|
# PENPOT_REGISTRATION_DOMAIN_WHITELIST=""
|
||||||
|
|
||||||
## Authentication providers
|
## Authentication providers
|
||||||
|
|
||||||
# Google
|
## Google
|
||||||
|
|
||||||
# PENPOT_GOOGLE_CLIENT_ID=
|
# PENPOT_GOOGLE_CLIENT_ID=
|
||||||
# PENPOT_GOOGLE_CLIENT_SECRET=
|
# PENPOT_GOOGLE_CLIENT_SECRET=
|
||||||
|
|
||||||
# GitHub
|
## GitHub
|
||||||
|
|
||||||
# PENPOT_GITHUB_CLIENT_ID=
|
# PENPOT_GITHUB_CLIENT_ID=
|
||||||
# PENPOT_GITHUB_CLIENT_SECRET=
|
# PENPOT_GITHUB_CLIENT_SECRET=
|
||||||
|
|
||||||
# GitLab
|
## GitLab
|
||||||
|
|
||||||
# PENPOT_GITLAB_BASE_URI=https://gitlab.com
|
# PENPOT_GITLAB_BASE_URI=https://gitlab.com
|
||||||
# PENPOT_GITLAB_CLIENT_ID=
|
# PENPOT_GITLAB_CLIENT_ID=
|
||||||
# PENPOT_GITLAB_CLIENT_SECRET=
|
# PENPOT_GITLAB_CLIENT_SECRET=
|
||||||
|
|
||||||
# OpenID Connect (since 1.5.0)
|
## OpenID Connect (since 1.5.0)
|
||||||
|
|
||||||
# PENPOT_OIDC_BASE_URI=
|
# PENPOT_OIDC_BASE_URI=
|
||||||
# PENPOT_OIDC_CLIENT_ID=
|
# PENPOT_OIDC_CLIENT_ID=
|
||||||
# PENPOT_OIDC_CLIENT_SECRET=
|
# PENPOT_OIDC_CLIENT_SECRET=
|
||||||
|
|
||||||
# LDAP
|
## LDAP
|
||||||
|
##
|
||||||
|
## NOTE: to enable ldap, you will need to put 'enable-login-with-ldap'
|
||||||
|
## on the 'PENPOT_FLAGS' environment variable.
|
||||||
|
|
||||||
# PENPOT_LDAP_HOST=ldap
|
# PENPOT_LDAP_HOST=ldap
|
||||||
# PENPOT_LDAP_PORT=10389
|
# PENPOT_LDAP_PORT=10389
|
||||||
# PENPOT_LDAP_SSL=false
|
# PENPOT_LDAP_SSL=false
|
||||||
|
@ -78,7 +98,3 @@ PENPOT_FLAGS="enable-registration"
|
||||||
# PENPOT_LDAP_ATTRS_EMAIL=mail
|
# PENPOT_LDAP_ATTRS_EMAIL=mail
|
||||||
# PENPOT_LDAP_ATTRS_FULLNAME=cn
|
# PENPOT_LDAP_ATTRS_FULLNAME=cn
|
||||||
# PENPOT_LDAP_ATTRS_PHOTO=jpegPhoto
|
# PENPOT_LDAP_ATTRS_PHOTO=jpegPhoto
|
||||||
# PENPOT_LOGIN_WITH_LDAP=true
|
|
||||||
|
|
||||||
# Exporter
|
|
||||||
PENPOT_DOMAIN_WHITE_LIST=localhost:9001
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue