Skip to content

优雅的开源看板软件Planka安装及使用教程

安装教程

快速下载yml文件:

wget https://git.ossdate.com/fivemoons/oss-scripts/raw/branch/main/planka/docker-compose-v2.yml -O docker-compose.yml

或者手动编辑docker-compose.yml文件,填入以下内容:

services:
  planka:
    image: ghcr.io/plankanban/planka:2.1.1 #修改版本号
    restart: on-failure
    # 需对文件夹授权chown -R 1000:1000 /home/planka/
    volumes:
      - ./favicons:/app/public/favicons
      - ./user-avatars:/app/public/user-avatars
      - ./background-images:/app/public/background-images
      - ./attachments:/app/private/attachments
    ports:
      - 3000:1337
    environment:
      - BASE_URL=http://localhost:3000 # 修改IP地址
      - DATABASE_URL=postgresql://postgres@postgres/planka
      - SECRET_KEY=notsecretkey # 执行openssl rand -hex 64后复制粘贴到此处

    depends_on:
      postgres:
        condition: service_healthy

  postgres:
    image: postgres:16-alpine
    restart: on-failure
    volumes:
      - ./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

启动:docker compose up -d

使用浏览器打开:http://192.168.1.99:3000

使用教程

软件比较简单,具体的使用教程略

  • 任务和子任务管理
  • 成员管理
  • 任务计时