From cc3616ae513aaf1fac63f7382737286c106ed7c5 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Wed, 20 Nov 2024 18:01:55 +0100 Subject: [PATCH 01/15] Add new LXC: Kimai --- ct/kimai.sh | 103 +++++++++++++++++++++++++++++++++++++ install/kimai-install.sh | 108 +++++++++++++++++++++++++++++++++++++++ json/kimai.json | 34 ++++++++++++ 3 files changed, 245 insertions(+) create mode 100644 ct/kimai.sh create mode 100644 install/kimai-install.sh create mode 100644 json/kimai.json diff --git a/ct/kimai.sh b/ct/kimai.sh new file mode 100644 index 000000000..5d289e9cf --- /dev/null +++ b/ct/kimai.sh @@ -0,0 +1,103 @@ +#!/usr/bin/env bash +source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) +# Copyright (c) 2021-2024 community-scripts ORG +# Author: MickLesk (Canbiz) +# License: MIT +# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE + +function header_info { +clear +cat <<"EOF" + __ __ _ _ + / //_/(_)___ ___ ____ _(_) + / ,< / / __ `__ \/ __ `/ / + / /| |/ / / / / / / /_/ / / +/_/ |_/_/_/ /_/ /_/\__,_/_/ + +EOF +} +header_info +echo -e "Loading..." +APP="Kimai" +var_disk="7" +var_cpu="2" +var_ram="2048" +var_os="debian" +var_version="12" +variables +color +catch_errors + +function default_settings() { + CT_TYPE="1" + PW="" + CT_ID=$NEXTID + HN=$NSAPP + DISK_SIZE="$var_disk" + CORE_COUNT="$var_cpu" + RAM_SIZE="$var_ram" + BRG="vmbr0" + NET="dhcp" + GATE="" + APT_CACHER="" + APT_CACHER_IP="" + DISABLEIP6="no" + MTU="" + SD="" + NS="" + MAC="" + VLAN="" + SSH="no" + VERB="no" + echo_default +} + +function update_script() { +header_info +check_container_storage +check_container_resources +if [[ ! -d /opt/kimai ]]; then msg_error "No ${APP} Installation Found!"; exit; fi +RELEASE=$(curl -s https://api.github.com/repos/kimai/kimai/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') +if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]]; then + msg_info "Stopping Apache2" + systemctl stop apache2 + msg_ok "Services Stopped" + + msg_info "Updating ${APP} to ${RELEASE}" + cp /opt/kimai/.env /opt/.env + rm -rf /opt/kimai + wget -q "https://github.com/kimai/kimai/archive/refs/tags/${RELEASE}.zip" + unzip -q ${RELEASE}.zip + mv kimai-${RELEASE} /opt/kimai + mv /opt/.env /opt/kimai/.env + cd /opt/kimai + composer install --no-dev --optimize-autoloader &>/dev/null + bin/console kimai:update &>/dev/null + chown -R :www-data . + chmod -R g+r . + chmod -R g+rw var/ + sudo chown -R www-data:www-data /opt/kimai + sudo chmod -R 755 /opt/kimai + echo "${RELEASE}" >/opt/${APP}_version.txt + msg_ok "Updated ${APP}" + + msg_info "Starting Apache2" + systemctl start apache2 + msg_ok "Started Apache2" + + msg_info "Cleaning Up" + rm -rf ${RELEASE}.zip + msg_ok "Cleaned" + msg_ok "Updated Successfully" +else + msg_ok "No update required. ${APP} is already at ${RELEASE}" +fi +exit +} +start +build_container +description + +msg_ok "Completed Successfully!\n" +echo -e "${APP} Setup should be reachable by going to the following URL. + ${BL}http://${IP}${CL} \n" diff --git a/install/kimai-install.sh b/install/kimai-install.sh new file mode 100644 index 000000000..dadecf07c --- /dev/null +++ b/install/kimai-install.sh @@ -0,0 +1,108 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2024 community-scripts ORG +# Author: MickLesk +# License: MIT +# https://github.com/tteck/Proxmox/raw/main/LICENSE + +source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os +#add_core_dependencies + +msg_info "Installing Dependencies" +$STD apt-get install -y \ + apt-transport-https \ + sudo \ + mc \ + curl \ + apache2 \ + git \ + expect \ + composer \ + mariadb-server \ + libapache2-mod-php \ + php8.2-{mbstring,gd,intl,pdo,mysql,tokenizer,zip,xml} +msg_ok "Installed Dependencies" + +msg_info "Setting up Database" +DB_NAME=kimai_db +DB_USER=kimai +DB_PASS=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13) +MYSQL_VERSION=$(mysql --version | grep -oP 'Distrib \K[0-9]+\.[0-9]+\.[0-9]+') +sudo mysql -u root -e "CREATE DATABASE $DB_NAME;" +sudo mysql -u root -e "CREATE USER '$DB_USER'@'localhost' IDENTIFIED WITH mysql_native_password AS PASSWORD('$DB_PASS');" +sudo mysql -u root -e "GRANT ALL ON $DB_NAME.* TO '$DB_USER'@'localhost'; FLUSH PRIVILEGES;" +{ + echo "Kimai-Credentials" + echo "Kimai Database User: $DB_USER" + echo "Kimai Database Password: $DB_PASS" + echo "Kimai Database Name: $DB_NAME" +} >> ~/kimai.creds +msg_ok "Set up database" + +msg_info "Setup Kimai (Patience)" +RELEASE=$(curl -s https://api.github.com/repos/kimai/kimai/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') +wget -q "https://github.com/kimai/kimai/archive/refs/tags/${RELEASE}.zip" +unzip -q ${RELEASE}.zip +mv kimai-${RELEASE} /opt/kimai +cd /opt/kimai +echo "export COMPOSER_ALLOW_SUPERUSER=1" >> ~/.bashrc +source ~/.bashrc +$STD composer install --no-dev --optimize-autoloader --no-interaction +cp .env.dist .env +sed -i "/^DATABASE_URL=/c\DATABASE_URL=mysql://$DB_USER:$DB_PASS@127.0.0.1:3306/$DB_NAME?charset=utf8mb4&serverVersion=$MYSQL_VERSION" /opt/kimai/.env +$STD bin/console kimai:install -n +chown -R :www-data . +chmod -R g+r . +chmod -R g+rw var/ +sudo chown -R www-data:www-data /opt/kimai +sudo chmod -R 755 /opt/kimai +$STD expect <"/opt/${APPLICATION}_version.txt" +msg_ok "Installed Kimai" + +msg_info "Creating Service" +cat </etc/apache2/sites-available/kimai.conf + + ServerAdmin webmaster@localhost + DocumentRoot /opt/kimai/public/ + + + Options FollowSymLinks + AllowOverride All + Require all granted + + + ErrorLog /var/log/apache2/error.log + CustomLog /var/log/apache2/access.log combined + + +EOF +$STD a2ensite kimai.conf +$STD a2dissite 000-default.conf +$STD systemctl reload apache2 +msg_ok "Created Services" + +motd_ssh +customize + +msg_info "Cleaning up" +rm -rf ${RELEASE}.zip +$STD apt-get -y autoremove +$STD apt-get -y autoclean +msg_ok "Cleaned" \ No newline at end of file diff --git a/json/kimai.json b/json/kimai.json new file mode 100644 index 000000000..048d4ed74 --- /dev/null +++ b/json/kimai.json @@ -0,0 +1,34 @@ +{ + "name": "Kimai", + "slug": "kimai", + "categories": [ + 0 + ], + "date_created": "2024-11-20", + "type": "ct", + "updateable": true, + "privileged": false, + "interface_port": null, + "documentation": "https://www.kimai.org/documentation/", + "website": "https://www.kimai.org/", + "logo": "https://raw.githubusercontent.com/kimai/images/refs/heads/main/logo-transparent.png", + "description": "Kimai is an open-source time-tracking software designed for freelancers, small teams, and businesses to efficiently track, manage, and analyze work hours. This web-based tool enables users to log their work time with ease, associating entries with specific clients, projects, and tasks.", + "install_methods": [ + { + "type": "default", + "script": "/ct/kimai.sh", + "resources": { + "cpu": 2, + "ram": 2048, + "hdd": null, + "os": "Debian", + "version": 12 + } + } + ], + "default_credentials": { + "username": "admin@helper-scripts.com", + "password": "helper-scripts.com" + }, + "notes": [] +} \ No newline at end of file From f3898783e303e2b3f394c920fb2c8ad505484c6e Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Wed, 20 Nov 2024 18:07:06 +0100 Subject: [PATCH 02/15] little tweak, admin instead of username --- install/kimai-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/kimai-install.sh b/install/kimai-install.sh index dadecf07c..07f770f29 100644 --- a/install/kimai-install.sh +++ b/install/kimai-install.sh @@ -66,7 +66,7 @@ $STD expect < Date: Wed, 20 Nov 2024 21:43:57 +0100 Subject: [PATCH 03/15] Update ct/kimai.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com> --- ct/kimai.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ct/kimai.sh b/ct/kimai.sh index 5d289e9cf..8580f4b82 100644 --- a/ct/kimai.sh +++ b/ct/kimai.sh @@ -94,6 +94,7 @@ else fi exit } + start build_container description From 198f3147e16058fbda8930d5896503ef338b3de0 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Wed, 20 Nov 2024 21:44:20 +0100 Subject: [PATCH 04/15] Update json/kimai.json MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com> --- json/kimai.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/json/kimai.json b/json/kimai.json index 048d4ed74..8e94fd73d 100644 --- a/json/kimai.json +++ b/json/kimai.json @@ -20,7 +20,7 @@ "resources": { "cpu": 2, "ram": 2048, - "hdd": null, + "hdd": "7", "os": "Debian", "version": 12 } From 47760631ba3be8e02d90af79b2862e16da852dc5 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Wed, 20 Nov 2024 21:44:29 +0100 Subject: [PATCH 05/15] Update install/kimai-install.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com> --- install/kimai-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/kimai-install.sh b/install/kimai-install.sh index 07f770f29..948f75d23 100644 --- a/install/kimai-install.sh +++ b/install/kimai-install.sh @@ -96,7 +96,7 @@ EOF $STD a2ensite kimai.conf $STD a2dissite 000-default.conf $STD systemctl reload apache2 -msg_ok "Created Services" +msg_ok "Created Service" motd_ssh customize From 9dcec0e0ceb1c8d80eeb1487edb454c3e0ca4385 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Wed, 20 Nov 2024 21:44:37 +0100 Subject: [PATCH 06/15] Update install/kimai-install.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com> --- install/kimai-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/kimai-install.sh b/install/kimai-install.sh index 948f75d23..665ba9d67 100644 --- a/install/kimai-install.sh +++ b/install/kimai-install.sh @@ -45,7 +45,7 @@ sudo mysql -u root -e "GRANT ALL ON $DB_NAME.* TO '$DB_USER'@'localhost'; FLUSH } >> ~/kimai.creds msg_ok "Set up database" -msg_info "Setup Kimai (Patience)" +msg_info "Installing Kimai (Patience)" RELEASE=$(curl -s https://api.github.com/repos/kimai/kimai/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') wget -q "https://github.com/kimai/kimai/archive/refs/tags/${RELEASE}.zip" unzip -q ${RELEASE}.zip From 402d32b4364d8e8b346d0b2a41aa70dd8379524b Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Wed, 20 Nov 2024 21:44:46 +0100 Subject: [PATCH 07/15] Update install/kimai-install.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com> --- install/kimai-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/kimai-install.sh b/install/kimai-install.sh index 665ba9d67..819b53186 100644 --- a/install/kimai-install.sh +++ b/install/kimai-install.sh @@ -29,7 +29,7 @@ $STD apt-get install -y \ php8.2-{mbstring,gd,intl,pdo,mysql,tokenizer,zip,xml} msg_ok "Installed Dependencies" -msg_info "Setting up Database" +msg_info "Setting up database" DB_NAME=kimai_db DB_USER=kimai DB_PASS=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13) From 8f31d8bc7f1005c39e4599d0a411c7c2f8e623e9 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Wed, 20 Nov 2024 21:45:33 +0100 Subject: [PATCH 08/15] Update ct/kimai.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com> --- ct/kimai.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/kimai.sh b/ct/kimai.sh index 8580f4b82..e0633d7fd 100644 --- a/ct/kimai.sh +++ b/ct/kimai.sh @@ -61,7 +61,7 @@ RELEASE=$(curl -s https://api.github.com/repos/kimai/kimai/releases/latest | gre if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]]; then msg_info "Stopping Apache2" systemctl stop apache2 - msg_ok "Services Stopped" + msg_ok "Stopped Apache2" msg_info "Updating ${APP} to ${RELEASE}" cp /opt/kimai/.env /opt/.env From 18820d36b2e1097b3933a3bfacc1ee1005b67f70 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Wed, 20 Nov 2024 21:46:28 +0100 Subject: [PATCH 09/15] Update install/kimai-install.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com> --- install/kimai-install.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/install/kimai-install.sh b/install/kimai-install.sh index 819b53186..0ae2cac57 100644 --- a/install/kimai-install.sh +++ b/install/kimai-install.sh @@ -12,7 +12,6 @@ catch_errors setting_up_container network_check update_os -#add_core_dependencies msg_info "Installing Dependencies" $STD apt-get install -y \ From c0c5ab0349d3e952f0ca4ad390d4f7b12473e08a Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Thu, 21 Nov 2024 09:10:31 +0100 Subject: [PATCH 10/15] Add RELEASE Output MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com> --- ct/kimai.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/kimai.sh b/ct/kimai.sh index e0633d7fd..70d9b1898 100644 --- a/ct/kimai.sh +++ b/ct/kimai.sh @@ -79,7 +79,7 @@ if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_v sudo chown -R www-data:www-data /opt/kimai sudo chmod -R 755 /opt/kimai echo "${RELEASE}" >/opt/${APP}_version.txt - msg_ok "Updated ${APP}" + msg_ok "Updated ${APP} to ${RELEASE}" msg_info "Starting Apache2" systemctl start apache2 From 6323346ca0d1b33b635d823015133a9213e84cf7 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Thu, 21 Nov 2024 09:11:14 +0100 Subject: [PATCH 11/15] Remove Sudo from mysql MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com> --- install/kimai-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/kimai-install.sh b/install/kimai-install.sh index 0ae2cac57..c94cfbd1e 100644 --- a/install/kimai-install.sh +++ b/install/kimai-install.sh @@ -35,7 +35,7 @@ DB_PASS=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13) MYSQL_VERSION=$(mysql --version | grep -oP 'Distrib \K[0-9]+\.[0-9]+\.[0-9]+') sudo mysql -u root -e "CREATE DATABASE $DB_NAME;" sudo mysql -u root -e "CREATE USER '$DB_USER'@'localhost' IDENTIFIED WITH mysql_native_password AS PASSWORD('$DB_PASS');" -sudo mysql -u root -e "GRANT ALL ON $DB_NAME.* TO '$DB_USER'@'localhost'; FLUSH PRIVILEGES;" +mysql -u root -e "GRANT ALL ON $DB_NAME.* TO '$DB_USER'@'localhost'; FLUSH PRIVILEGES;" { echo "Kimai-Credentials" echo "Kimai Database User: $DB_USER" From 92c95e8aca3635af2ba65aaae2ef1cd38f653134 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Thu, 21 Nov 2024 09:11:20 +0100 Subject: [PATCH 12/15] Remove Sudo from mysql MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com> --- install/kimai-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/kimai-install.sh b/install/kimai-install.sh index c94cfbd1e..1cc29a538 100644 --- a/install/kimai-install.sh +++ b/install/kimai-install.sh @@ -34,7 +34,7 @@ DB_USER=kimai DB_PASS=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13) MYSQL_VERSION=$(mysql --version | grep -oP 'Distrib \K[0-9]+\.[0-9]+\.[0-9]+') sudo mysql -u root -e "CREATE DATABASE $DB_NAME;" -sudo mysql -u root -e "CREATE USER '$DB_USER'@'localhost' IDENTIFIED WITH mysql_native_password AS PASSWORD('$DB_PASS');" +mysql -u root -e "CREATE USER '$DB_USER'@'localhost' IDENTIFIED WITH mysql_native_password AS PASSWORD('$DB_PASS');" mysql -u root -e "GRANT ALL ON $DB_NAME.* TO '$DB_USER'@'localhost'; FLUSH PRIVILEGES;" { echo "Kimai-Credentials" From 4863baad05b4c29d4bee78dd26b334ea37b0c852 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Thu, 21 Nov 2024 09:11:25 +0100 Subject: [PATCH 13/15] Remove Sudo from mysql MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com> --- install/kimai-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/kimai-install.sh b/install/kimai-install.sh index 1cc29a538..a4db1821d 100644 --- a/install/kimai-install.sh +++ b/install/kimai-install.sh @@ -33,7 +33,7 @@ DB_NAME=kimai_db DB_USER=kimai DB_PASS=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13) MYSQL_VERSION=$(mysql --version | grep -oP 'Distrib \K[0-9]+\.[0-9]+\.[0-9]+') -sudo mysql -u root -e "CREATE DATABASE $DB_NAME;" +mysql -u root -e "CREATE DATABASE $DB_NAME;" mysql -u root -e "CREATE USER '$DB_USER'@'localhost' IDENTIFIED WITH mysql_native_password AS PASSWORD('$DB_PASS');" mysql -u root -e "GRANT ALL ON $DB_NAME.* TO '$DB_USER'@'localhost'; FLUSH PRIVILEGES;" { From 8347b8e77d11beb6fab938c2f660d4166e7a80f2 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Thu, 21 Nov 2024 10:06:11 +0100 Subject: [PATCH 14/15] Update json/kimai.json MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com> --- json/kimai.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/json/kimai.json b/json/kimai.json index 8e94fd73d..4885ad310 100644 --- a/json/kimai.json +++ b/json/kimai.json @@ -19,7 +19,7 @@ "script": "/ct/kimai.sh", "resources": { "cpu": 2, - "ram": 2048, + "ram": "2048", "hdd": "7", "os": "Debian", "version": 12 From d69f37a9381011f7212f4ad9eba51bfd445767e1 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Thu, 21 Nov 2024 10:06:16 +0100 Subject: [PATCH 15/15] Update json/kimai.json MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com> --- json/kimai.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/json/kimai.json b/json/kimai.json index 4885ad310..832eb9d52 100644 --- a/json/kimai.json +++ b/json/kimai.json @@ -18,7 +18,7 @@ "type": "default", "script": "/ct/kimai.sh", "resources": { - "cpu": 2, + "cpu": "2", "ram": "2048", "hdd": "7", "os": "Debian",