Add kimai2

This commit is contained in:
thomas 2022-10-14 23:58:11 +02:00
parent 9b0ca7ae1c
commit bd265145d3
8 changed files with 112 additions and 0 deletions

View file

@ -0,0 +1 @@
/etc/kimai2.conf

View file

@ -0,0 +1,8 @@
Package: kimai2
Version: %VERSION%
Section: base
Priority: optional
Architecture: all
Depends: php (>= 7.4), php-gd, php-intl, php-json, php-mbstring, php-pdo, php-xsl, php-zip
Maintainer: Thomas Legay <thomas@lgy.fr>
Description: kimai2

View file

@ -0,0 +1,2 @@
#!/bin/bash
chown -R www-data:www-data /var/lib/kimai2/

View file

@ -0,0 +1,23 @@
<VirtualHost *:80>
servername kimai2.domain.com
ServerAdmin admin@domain.com
DocumentRoot /usr/share/kimai2/public/
Protocols h2c http/1.1
<directory /usr/share/kimai2/public/>
AllowOverride All
FallbackResource /index.php
Require all granted
</directory>
<directory /usr/share/kimai2/>
Options FollowSymLinks
</directory>
<Directory /usr/share/kimai2/public/bundles>
FallbackResource disabled
</Directory>
# optionally set the value of the environment variables used in the application
#SetEnv APP_ENV prod
#SetEnv APP_SECRET IgJojTydTefdyllIpbebhalRebninas1
#SetEnv DATABASE_URL "mysql://kimai2:password@localhost/kimai2"
</VirtualHost>