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.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
Adds healthcheck for runner
Italo793f91e7fb1f
diff --git a/templates/compose/forgejo-with-runner-with-mariadb.yaml b/templates/compose/forgejo-with-runner-with-mariadb.yamlindex 805aa0d9f2..b137c93820 100644--- a/templates/compose/forgejo-with-runner-with-mariadb.yaml+++ b/templates/compose/forgejo-with-runner-with-mariadb.yaml@@ -125,7 +125,10 @@ services:- forgejo-localtime:/etc/localtime:rorestart: 'unless-stopped'healthcheck:- disable: true+ test: ["CMD", "pgrep", "forgejo-runner"]+ interval: 10s+ timeout: 30s+ retries: 10command: >-bash -c 'while : ; do test -w .runner && forgejo-runner --config config.yml daemon ; sleep 1 ; donediff --git a/templates/compose/forgejo-with-runner-with-mysql.yaml b/templates/compose/forgejo-with-runner-with-mysql.yamlindex 9487694af8..21c62c06d0 100644--- a/templates/compose/forgejo-with-runner-with-mysql.yaml+++ b/templates/compose/forgejo-with-runner-with-mysql.yaml@@ -125,7 +125,10 @@ services:- forgejo-localtime:/etc/localtime:rorestart: 'unless-stopped'healthcheck:- disable: true+ test: ["CMD", "pgrep", "forgejo-runner"]+ interval: 10s+ timeout: 30s+ retries: 10command: >-bash -c 'while : ; do test -w .runner && forgejo-runner --config config.yml daemon ; sleep 1 ; donediff --git a/templates/compose/forgejo-with-runner-with-postgresql.yaml b/templates/compose/forgejo-with-runner-with-postgresql.yamlindex bac4a46810..486c7a4621 100644--- a/templates/compose/forgejo-with-runner-with-postgresql.yaml+++ b/templates/compose/forgejo-with-runner-with-postgresql.yaml@@ -124,7 +124,10 @@ services:- forgejo-localtime:/etc/localtime:rorestart: 'unless-stopped'healthcheck:- disable: true+ test: ["CMD", "pgrep", "forgejo-runner"]+ interval: 10s+ timeout: 30s+ retries: 10command: >-bash -c 'while : ; do test -w .runner && forgejo-runner --config config.yml daemon ; sleep 1 ; donediff --git a/templates/compose/forgejo-with-runner.yaml b/templates/compose/forgejo-with-runner.yamlindex 7865e8fa4c..2e526cbdea 100644--- a/templates/compose/forgejo-with-runner.yaml+++ b/templates/compose/forgejo-with-runner.yaml@@ -102,7 +102,10 @@ services:- forgejo-localtime:/etc/localtime:rorestart: 'unless-stopped'healthcheck:- disable: true+ test: ["CMD", "pgrep", "forgejo-runner"]+ interval: 10s+ timeout: 30s+ retries: 10command: >-bash -c 'while : ; do test -w .runner && forgejo-runner --config config.yml daemon ; sleep 1 ; done