Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix(service): kimai fails to start (#8027)

ysbrandBf63b3e0cecfa
diff --git a/templates/compose/kimai.yaml b/templates/compose/kimai.yaml
index e121c4eb1e..c9795f0d21 100644
--- a/templates/compose/kimai.yaml
+++ b/templates/compose/kimai.yaml
@@ -37,7 +37,7 @@ services:
- ADMINMAIL=${ADMINMAIL:[email protected]}
- ADMINPASS=${SERVICE_PASSWORD_ADMINPASS}
- DATABASE_URL=mysql://${SERVICE_USER_MYSQL}:${SERVICE_PASSWORD_MYSQL}@mysql/${MYSQL_DATABASE}?charset=utf8mb4&serverVersion=8.3.0
- - TRUSTED_HOSTS=localhost
+ - 'TRUSTED_HOSTS=${TRUSTED_HOSTS}|localhost|127.0.0.1'
healthcheck:
test: ["CMD", "curl", "-f", "http://127.0.0.1:8001"]
interval: 2s