34 lines
1.0 KiB
YAML
34 lines
1.0 KiB
YAML
services:
|
|
planka:
|
|
image: ghcr.io/plankanban/planka:2.0.0-rc.4
|
|
restart: on-failure
|
|
volumes:
|
|
- /opt/planka/favicons:/app/public/favicons
|
|
- /opt/planka/user-avatars:/app/public/user-avatars
|
|
- /opt/planka/background-images:/app/public/background-images
|
|
- /opt/planka/attachments:/app/private/attachments
|
|
ports:
|
|
- 3003:1337
|
|
environment:
|
|
- BASE_URL=https://kan.tomalix.com
|
|
- DATABASE_URL=postgresql://postgres@postgres/planka
|
|
- SECRET_KEY=d13d99a0cde21f8773be6e394a41782b7b8b449a5674904cbd541bd64424c1904402acdad0f7ebe66007abb0c1dfd2949bd48221e98c38a7d1751749c65c72b1
|
|
|
|
depends_on:
|
|
postgres:
|
|
condition: service_healthy
|
|
|
|
postgres:
|
|
image: postgres:16-alpine
|
|
restart: on-failure
|
|
volumes:
|
|
- /opt/planka/db-data:/var/lib/postgresql/data
|
|
environment:
|
|
- POSTGRES_DB=planka
|
|
- POSTGRES_HOST_AUTH_METHOD=trust
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U postgres -d planka"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|