Skip to main content

LeanTime - Open Source Project Management

Summary

LeanTime is a open source project management solution providing kan-boards, To-Do-Lists and big-sized projects.

Installation via docker-compose behind traefik proxy

  leantime_web:
    environment:
      - LEAN_DB_HOST=leantime_db
      - LEAN_DB_USER=leantime_db_user
      - LEAN_DB_PASSWORD=leantime_db_password
      - LEAN_DB_DATABASE=leantime_db_name
      - LEAN_APP_URL=https://leantime.yourdomain.com
    image: leantime/leantime:latest
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.leantime.rule=Host(`leantime.yourdomain.com`)"
      - "traefik.http.routers.leantime.entrypoints=websecure"
      - "traefik.http.routers.leantime.tls=true"
      - "traefik.http.services.leantime.loadBalancer.server.port=80"
      - "traefik.docker.network=traefik"
    networks:
      - traefik
      - cmas_local
    restart: always
    #user with uid and guid 82 needed on host for volumes
    volumes:
      - /path/to/data/userfiles:/var/www/html/userfiles
      - /path/to/data/userfiles-public:/var/www/html/public/userfiles
  leantime_db:
    image: mysql
    command: --default-authentication-plugin=mysql_native_password
    restart: always
    volumes:
      - /path/to/data/db:/var/lib/mysql
    networks:
      - cmas_local
    environment:
      - MYSQL_ROOT_PASSWORD=db_root_password
      - MYSQL_DATABASE=leantime_db_name
      - MYSQL_USER=leantime_db_user
      - MYSQL_PASSWORD=leantime_db_password