Workflow update

main
technorabilia 9 months ago
parent 76545e59ed
commit 6d0da0fb12

@ -16,7 +16,7 @@ docker run -d \
-e DB_HOST=<yourdbhost> `# for specifying the database host` \
-e DB_PORT=<yourdbport> `# for specifying the database port if not default 3306` \
-e DB_USER=<yourdbuser> `# for specifying the database user` \
-e DB_PASS=<yourdbpass> `# for specifying the database password (non-alphanumeric passwords must be properly escaped.)` \
-e DB_PASS=<yourdbpass> `# for specifying the database password (minimum 4 characters & non-alphanumeric passwords must be properly escaped.)` \
-e DB_DATABASE=bookstackapp `# for specifying the database to be used` \
-p 6875:80 `# will map the container's port 80 to port 6875 on the host` \
-v ${BASEDIR:-/volume1/docker}/bookstack/config:/config `# this will store any uploaded data on the docker host` \

@ -0,0 +1,37 @@
# [Kimai](https://kimai.org/) is a professional grade time-tracking application,
# free and open-source. It handles use-cases of freelancers as well as companies
# with dozens or hundreds of users. Kimai was build to track your project times
# and ships with many advanced features, including but not limited to: JSON API,
# invoicing, data exports, multi-timer and punch-in punch-out mode, tagging,
# multi-user - multi-timezones - multi-language ([over 30 translations
# existing](https://hosted.weblate.org/projects/kimai/)!), authentication via
# SAML/LDAP/Database, two-factor authentication (2FA) with TOTP, customizable
# role and team permissions, responsive design, user/customer/project specific
# rates, advanced search & filtering, money and time budgets, advanced
# reporting, support for [plugins](https://www.kimai.org/store/) and so much
# more.
---
version: "2.1"
services:
kimai:
image: ghcr.io/linuxserver/kimai
container_name: kimai
environment:
# for UserID
- PUID=${PUID:-1024}
# for GroupID
- PGID=${PGID:-100}
# specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).
- TZ=${TZ:-Europe/Amsterdam}
# Configure your database connection
- DATABASE_URL=mysql://your_db_user:your_db_pass@your_db_host:3306/your_db_name
volumes:
# Configuration files.
- ${BASEDIR:-/volume1/docker}/kimai/config:/config
ports:
# http gui
- 80:80
# https gui
- 443:443
restart: unless-stopped

@ -0,0 +1,25 @@
# [Kimai](https://kimai.org/) is a professional grade time-tracking application,
# free and open-source. It handles use-cases of freelancers as well as companies
# with dozens or hundreds of users. Kimai was build to track your project times
# and ships with many advanced features, including but not limited to: JSON API,
# invoicing, data exports, multi-timer and punch-in punch-out mode, tagging,
# multi-user - multi-timezones - multi-language ([over 30 translations
# existing](https://hosted.weblate.org/projects/kimai/)!), authentication via
# SAML/LDAP/Database, two-factor authentication (2FA) with TOTP, customizable
# role and team permissions, responsive design, user/customer/project specific
# rates, advanced search & filtering, money and time budgets, advanced
# reporting, support for [plugins](https://www.kimai.org/store/) and so much
# more.
. ./.env
docker run -d \
--name=kimai \
-e PUID=${PUID:-1024} `# for UserID` \
-e PGID=${PGID:-100} `# for GroupID` \
-e TZ=${TZ:-Europe/Amsterdam} `# specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).` \
-e DATABASE_URL=mysql://your_db_user:your_db_pass@your_db_host:3306/your_db_name `# Configure your database connection` \
-p 80:80 `# http gui` \
-p 443:443 `# https gui` \
-v ${BASEDIR:-/volume1/docker}/kimai/config:/config `# Configuration files.` \
--restart unless-stopped \
ghcr.io/linuxserver/kimai

@ -0,0 +1,3 @@
ln -s ../docker-env.cfg ./.env
. ./.env
mkdir -p ${BASEDIR:-/volume1/docker}/kimai/config
Loading…
Cancel
Save