Add kimai2
This commit is contained in:
parent
9b0ca7ae1c
commit
bd265145d3
8 changed files with 112 additions and 0 deletions
0
ressources/kimai2/rootfs/DEBIAN/changelog
Normal file
0
ressources/kimai2/rootfs/DEBIAN/changelog
Normal file
1
ressources/kimai2/rootfs/DEBIAN/conffiles
Normal file
1
ressources/kimai2/rootfs/DEBIAN/conffiles
Normal file
|
@ -0,0 +1 @@
|
|||
/etc/kimai2.conf
|
8
ressources/kimai2/rootfs/DEBIAN/control
Normal file
8
ressources/kimai2/rootfs/DEBIAN/control
Normal 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
|
2
ressources/kimai2/rootfs/DEBIAN/postinst
Executable file
2
ressources/kimai2/rootfs/DEBIAN/postinst
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
chown -R www-data:www-data /var/lib/kimai2/
|
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue