A custom Leantime image build with Alpine Linux and NGINX/PHP.
A custom Leantime image build with Alpine Linux and NGINX/PHP.
This image follows the Semantic Versioning pattern.
Version | 1.0 | 1.1 | 2.0 |
---|---|---|---|
Base Image | 1.x.x | 1.x.x | 2.x.x |
Leantime | 2.1.4 | 2.1.5 | 2.1.4 |
When Base Image gets upgraded the major version is incremented, when Leantime gets upgraded the minor version is incremented.
Tag | Description |
---|---|
latest | Latest version |
1.0.0 | Specific patch version |
1.0 | Specific minor version |
1 | Specific major version |
1.0.0-arch |
Specific patch version to that arch |
1.0-arch |
Specific minor version to that arch |
1-arch |
Specific major version to that arch |
test | Branch version - DO NOT USE |
The version tags are the same as the repository versioning tags but without the v
. The test
version is only for build purposes, it should not be pulled.
The arch
can be one of the supported architectures described below.
Architecture | Tag |
---|---|
x86-64 | amd64 |
arm64 | arm64v8 |
armhf | arm32v7 |
Name | Description |
---|---|
PUID | Set the UserID - Details |
PGID | Set the GroupID - Details |
TZ | Set the system timezone - Options |
HTTP_TRACE | Enable HTTP trace Log (default: false) |
SESSION_KEY | Set the HTTP session key |
DATABASE_HOST | Set the database hostname or ip address where the application will connect |
DATABASE_NAME | Set the database name that will be used by the application |
DATABASE_USER | Set the username for the database connection |
DATABASE_PASS | Set the password for the database username |
DOMAIN_NAME | Set the application domain name in case of reverse proxy |
EMAIL_HOST | Set the SMTP server hostname |
EMAIL_PORT | Set the SMTP server port |
EMAIL_USER | Set the SMTP username |
EMAIL_PASS | Set the SMPT password |
EMAIL_SECURE | Set the SMTP Security protocol (TLS, SSL, STARTTLS) |
It exposes a single volume at /config
where it keeps the configuration and other files related with the application.
Also a single port is exposed at 80 to allow external connections to the database.
docker run \
-e PUID=1000 \
-e PGID=1000 \
-e DATABASE_HOST=mariadb_leantime \
-e DATABASE_NAME=leantimedb \
-e DATABASE_USER=leantimeuser \
-e DATABASE_PASS=leantimepass \
-p 80:80 \
-v $PWD:/config \
fabiodcorreia/leantime
Or use docker-compose
, an example is provided on docker-compose.yml