2022-08-09 19:17:19 +02:00
## Required
2019-08-31 04:07:25 +05:00
BASE_URL=http://localhost:1337
2021-12-30 00:28:27 +05:00
DATABASE_URL=postgresql://postgres@localhost/planka
2019-10-04 04:19:46 +05:00
SECRET_KEY=notsecretkey
2022-08-09 18:03:21 +02:00
2022-08-09 19:17:19 +02:00
## Optional
2025-04-22 15:41:01 +02:00
# LOG_LEVEL=warn
feat: Configurable file storage locations (#886)
* feat: Make logfile location customizable
It may be desirable to log to a more standard location (e.g. in /var/log/),
or in some cases to turn logging to file off. To support these, use a
custom config property to determine the location of the output log file,
and default to the previous location if it is unset.
* feat: Support alternate storage locations for uploaded files
This involves a couple primary changes:
1) to make Sails' temporary file-upload directory a configurable location
by using a common file-upload-receiving helper;
2) to create custom static routes for the file-upload locations, so they
can be outside the application's public directory; and
3) to use the file-uploading handler everywhere that receives files, so
config for the helper is applied to all file uploads consistently.
This is sufficient to allow the application directory to be deployed read-
only, with writable storage used for file uploads. The new config property
for Sails' temporary upload directory, combined with the existing settings
for user-avatar and background-image locations are sufficient to handle
uploads; the new custom routes handle serving those files from external
locations.
The default behavior of the application should be unchanged, with files
uploaded to, and served from, the public directory if the relevant
config properties aren't set to other values.
2024-09-20 14:29:11 -04:00
# LOG_FILE=
2025-05-10 02:09:06 +02:00
# TRUST_PROXY=true
2022-08-09 19:17:19 +02:00
# TOKEN_EXPIRES_IN=365 # In days
2023-03-06 13:54:52 +01:00
# related: https://github.com/knex/knex/issues/2354
# As knex does not pass query parameters from the connection string we
# have to use environment variables in order to pass the desired values, e.g.
# PGSSLMODE=<value>
# Configure knex to accept SSL certificates
# KNEX_REJECT_UNAUTHORIZED_SSL_CERTIFICATE=false
2025-05-10 02:09:06 +02:00
# DEFAULT_LANGUAGE=en-US # Used for per-board notifications
2023-10-20 21:52:12 +02:00
# DEFAULT_ADMIN_EMAIL=demo@demo.demo # Do not remove if you want to prevent this user from being edited/deleted
# DEFAULT_ADMIN_PASSWORD=demo
# DEFAULT_ADMIN_NAME=Demo Demo
# DEFAULT_ADMIN_USERNAME=demo
2025-05-10 02:09:06 +02:00
# ACTIVE_USERS_LIMIT=
# SHOW_DETAILED_AUTH_ERRORS=false # Set to true to show more detailed authentication error messages. It should not be enabled without a rate limiter for security reasons.
2024-06-14 16:38:06 +02:00
2024-11-12 15:58:22 +01:00
# S3_ENDPOINT=
# S3_REGION=
# S3_ACCESS_KEY_ID=
# S3_SECRET_ACCESS_KEY=
# S3_BUCKET=
# S3_FORCE_PATH_STYLE=true
2023-10-17 19:18:19 +02:00
# OIDC_ISSUER=
# OIDC_CLIENT_ID=
2023-10-19 14:39:21 +02:00
# OIDC_CLIENT_SECRET=
2024-07-16 12:33:38 +02:00
# OIDC_ID_TOKEN_SIGNED_RESPONSE_ALG=
# OIDC_USERINFO_SIGNED_RESPONSE_ALG=
2023-10-17 19:18:19 +02:00
# OIDC_SCOPES=openid email profile
2024-07-16 12:33:38 +02:00
# OIDC_RESPONSE_MODE=fragment
# OIDC_USE_DEFAULT_RESPONSE_MODE=true
2023-10-17 19:18:19 +02:00
# OIDC_ADMIN_ROLES=admin
2025-05-10 02:09:06 +02:00
# OIDC_PROJECT_OWNER_ROLES=project_owner
# OIDC_BOARD_USER_ROLES=board_user
2024-09-20 16:19:54 +02:00
# OIDC_CLAIMS_SOURCE=userinfo
2024-01-25 23:01:59 +01:00
# OIDC_EMAIL_ATTRIBUTE=email
# OIDC_NAME_ATTRIBUTE=name
# OIDC_USERNAME_ATTRIBUTE=preferred_username
2023-10-17 19:18:19 +02:00
# OIDC_ROLES_ATTRIBUTE=groups
2024-01-25 23:01:59 +01:00
# OIDC_IGNORE_USERNAME=true
2023-10-25 23:01:35 +02:00
# OIDC_IGNORE_ROLES=true
2024-02-01 00:31:15 +01:00
# OIDC_ENFORCED=true
2023-10-17 19:18:19 +02:00
2024-04-08 00:33:29 +02:00
# Email Notifications (https://nodemailer.com/smtp/)
# SMTP_HOST=
# SMTP_PORT=587
2025-05-10 02:09:06 +02:00
# SMTP_NAME=
2024-04-08 00:33:29 +02:00
# SMTP_SECURE=true
# SMTP_USER=
# SMTP_PASSWORD=
# SMTP_FROM="Demo Demo" <demo@demo.demo>
2024-10-02 14:10:31 +02:00
# SMTP_TLS_REJECT_UNAUTHORIZED=false
2024-04-08 00:33:29 +02:00
2024-06-12 00:51:36 +02:00
# Optional fields: accessToken, events, excludedEvents
# WEBHOOKS='[{
# "url": "http://localhost:3001",
# "accessToken": "notaccesstoken",
# "events": ["cardCreate", "cardUpdate", "cardDelete"],
# "excludedEvents": ["notificationCreate", "notificationUpdate"]
# }]'
2022-08-09 19:17:19 +02:00
## Do not edit this
2022-08-09 18:03:21 +02:00
TZ=UTC