2019-10-01 04:18:33 +05:00
version : '3'
services :
planka :
2022-04-29 07:15:59 -05:00
image : ghcr.io/plankanban/planka:latest
2024-02-06 00:48:21 +01:00
restart : on -failure
2019-10-01 04:18:33 +05:00
volumes :
2020-04-21 05:04:34 +05:00
- user-avatars:/app/public/user-avatars
2020-05-26 01:27:32 +05:00
- project-background-images:/app/public/project-background-images
2022-04-26 22:20:20 +05:00
- attachments:/app/private/attachments
2019-10-01 04:18:33 +05:00
ports :
- 3000 : 1337
environment :
- BASE_URL=http://localhost:3000
- DATABASE_URL=postgresql://postgres@postgres/planka
2019-10-04 04:19:46 +05:00
- SECRET_KEY=notsecretkey
2023-03-06 13:54:52 +01:00
2025-04-22 15:41:01 +02:00
# - LOG_LEVEL=warn
2023-10-20 21:52:12 +02:00
# - TRUST_PROXY=0
# - TOKEN_EXPIRES_IN=365 # In days
2023-09-12 01:12:38 +02:00
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
2023-10-17 19:18:19 +02:00
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
2024-08-30 11:47:29 +02:00
# - 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
# - ALLOW_ALL_TO_CREATE_PROJECTS=true
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
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
2024-04-08 00:33:29 +02:00
# Email Notifications (https://nodemailer.com/smtp/)
# - SMTP_HOST=
# - SMTP_PORT=587
2024-05-18 14:02:21 +01: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"]
# }]
2024-04-08 00:33:29 +02:00
# - SLACK_BOT_TOKEN=
# - SLACK_CHANNEL_ID=
2024-10-30 22:28:25 +01:00
2024-09-04 15:33:43 +02:00
# - GOOGLE_CHAT_WEBHOOK_URL=
2024-10-31 00:11:52 +03:00
# - TELEGRAM_BOT_TOKEN=
# - TELEGRAM_CHAT_ID=
# - TELEGRAM_THREAD_ID=
2019-10-01 04:18:33 +05:00
depends_on :
2024-02-06 00:48:21 +01:00
postgres :
condition : service_healthy
2019-10-01 04:18:33 +05:00
postgres :
2024-10-22 20:22:23 +02:00
image : postgres:16-alpine
2024-02-06 00:48:21 +01:00
restart : on -failure
2019-10-01 04:18:33 +05:00
volumes :
- db-data:/var/lib/postgresql/data
environment :
- POSTGRES_DB=planka
2020-04-21 05:04:34 +05:00
- POSTGRES_HOST_AUTH_METHOD=trust
2024-02-06 00:48:21 +01:00
healthcheck :
2024-11-12 15:58:22 +01:00
test : [ "CMD-SHELL" , "pg_isready -U postgres -d planka" ]
2024-02-06 00:48:21 +01:00
interval : 10s
timeout : 5s
retries : 5
2019-10-01 04:18:33 +05:00
volumes :
2020-04-21 05:04:34 +05:00
user-avatars :
2020-05-26 01:27:32 +05:00
project-background-images :
2020-04-21 05:04:34 +05:00
attachments :
2019-10-01 04:18:33 +05:00
db-data :