Git Product home page Git Product logo

docker-leantime's Introduction

hub.docker.com/r/tiredofit/leantime

Docker Pulls Docker Stars Docker Layers

Introduction

This will build a container for Leantime - An open source project management tool.

  • Automatically installs and sets up installation upon first start

  • This Container uses a customized Alpine base which includes s6 overlay enabled for PID 1 Init capabilities, zabbix-agent for individual container monitoring, Cron also installed along with other tools (bash,curl, less, logrotate, nano, vim) for easier management. It also supports sending to external SMTP servers..

Changelog

Authors

Table of Contents

Prerequisites

This image assumes that you are using a reverse proxy such as jwilder/nginx-proxy and optionally the Let's Encrypt Proxy Companion @ https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion in order to serve your pages. However, it will run just fine on it's own if you map appropriate ports. See the examples folder for a docker-compose.yml that does not rely on a reverse proxy.

You will also need an external MariaDB container

Installation

Automated builds of the image are available on Docker Hub and is the recommended method of installation.

docker pull tiredofit/leantime

Quick Start

The first boot can take from 2 minutes - 5 minutes depending on your CPU to setup the proper schemas.

Login to the web server and enter in your admin email address, admin password and start configuring the system!

Configuration

Data-Volumes

The following directories are used for configuration and can be mapped for persistent storage.

Directory Description
/www/logs Nginx and PHP Log files
/assets/custom (Optional) Copy source code over existing source code in /www/html upon container start. Use exact file/folder structure
/assets/custom-scripts (Optional) If you want to execute custom scripting, place scripts here with extension .sh
/assets/modules (Optional) If you want to add additional modules outside of the source tree, add them here
/www/html (Optional) If you want to expose the leantime sourcecode and enable Self Updating, expose this volume
*OR
/data Hold onto your persistent sessions and cache between container restarts

Environment Variables

Along with the Environment Variables from the Base image, and Web Image, and PHP Image below is the complete list of available options that can be used to customize your installation.

#!/usr/bin/with-contenv bash

Application Settings

Parameter Description Default
ADMIN_EMAIL Administrator Email Address - Needed for logging in [email protected]
ADMIN_FIRST_NAME Admin user First Name Admin
ADMIN_LAST_NAME Admin user First Name User
ADMIN_PASS Adminsitrator Password admin
COMPANY_NAME Company Name Example Company
DEFAULT_COLOR Default Color for header 1b75bb
ENABLE_AUTO_UPDATE If coming from an earlier version of image, automatically update it to latest leantime release TRUE
LANGUAGE Application Language en-US
SESSION_EXPIRE Session expiry in seconds 28800
SETUP_TYPE Automatically generate configuration via environment variables AUTO MANUAL AUTO
SITE_NAME Name of your Site Leantime
SITE_URL The url your site listens on example https://leantime.example.com

Database Settings

Parameter Description default
DB_HOST Host or container name of MariaDB Server e.g. leantime-db
DB_PORT MariaDB Port - Default 3306 3306
DB_NAME MariaDB Database name e.g. leantime
DB_USER MariaDB Username for above Database e.g. leantime
DB_PASS MariaDB Password for above Database e.g. password

Storage Settings

Parameter Description default
STORAGE_TYPE Use FILESYSTEM or S3 for storing uploaded files FILESYSTEM
STORAGE_FILE_PATH Folder to store files (do not set if you are volume mapping /data) userfiles
S3 Settings

Used only if STORAGE_TYPE = S3

Parameter Description default
S3_BUCKET S3 Bucket Name
S3_FOLDER_NAME S3 Folder Name (Can be blank)
S3_KEY S3 Key
S3_REGION S3 Region
S3_SECRET S3 Secret

SMTP Settings

Used only if SMTP_ENABLE = TRUE

Parameter Description default
SMTP_ENABLE Use configured SMTP servers or rely on internal PHP mail() function FALSE
SMTP_AUTH Use SMTP Authentication TRUE or FALSE FALSE
SMTP_FROM SMTP From Name / Return Email Address
SMTP_HOST SMTP Host
SMTP_PASS SMTP Password
SMTP_PORT SMTP Port
SMTP_PROTOCOL SMTP Security Protocol TLS, SSL, STARTTLS
SMTP_TLS_AUTO Automatically detect if we can use TLS TRUE
SMTP_USER SMTP User

Networking

The following ports are exposed.

Port Description
80 HTTP

Maintenance

Shell Access

For debugging and maintenance purposes you may want access the containers shell.

docker exec -it (whatever your container name is e.g. leantime) bash

References

docker-leantime's People

Contributors

arjenr avatar daniron26 avatar tiredofit avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.