Skip to content

LibreCodeCoop/kimai-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kimai Docker

Kimai runing in a container

Purpose of this project: expose the source code of Kimai in a volume

Setup

  • Clone this repository
  • run docker-compose up

Development

Look here

Update

  • Go to the kimai folder
    • Check the base image version
      cat .docker/php/Dockerfile | grep FROM
      cat .env | grep VERSION
    • Update the container
      # replace with the newest base image
      docker compose build --pull
  • Go to the kimai volume folder
    git pull origin main
    cd volumes/php
    git fetch origin <latest-tag-in-prod>
    git checkout FETCH_HEAD
    git checkout -b <latest-tag-in-prod>
    docker compose exec kimai composer i --no-dev
    docker compose exec kimai chown -R www-data:www-data .
    docker compose restart kimai

Packages

No packages published

Contributors 3

  •  
  •  
  •