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
Update opnform.yaml to use version 1.10.1 for API and UI images, and correct APP_URL environment variable reference
JhumanJdd0575a1ac89
diff --git a/templates/compose/opnform.yaml b/templates/compose/opnform.yamlindex 860b72ecae..7e311e5a6a 100644--- a/templates/compose/opnform.yaml+++ b/templates/compose/opnform.yaml@@ -9,7 +9,7 @@ x-shared-env: &shared-api-envAPP_ENV: productionAPP_KEY: ${SERVICE_BASE64_APIKEY}APP_DEBUG: ${APP_DEBUG:-false}- APP_URL: ${SERVICE_FQDN_NGINX}+ APP_URL: ${SERVICE_FQDN_OPNFORM}SELF_HOSTED: ${SELF_HOSTED:-true}LOG_CHANNEL: errorlogLOG_LEVEL: ${LOG_LEVEL:-debug}@@ -50,7 +50,7 @@ x-shared-env: &shared-api-envservices:opnform-api:- image: jhumanj/opnform-api:1.10.0+ image: jhumanj/opnform-api:1.10.1volumes:- api-storage:/usr/share/nginx/html/storageenvironment:@@ -77,7 +77,7 @@ services:start_period: 60sapi-worker:- image: jhumanj/opnform-api:1.10.0+ image: jhumanj/opnform-api:1.10.1volumes:- api-storage:/usr/share/nginx/html/storageenvironment:@@ -90,14 +90,15 @@ services:redis:condition: service_healthyhealthcheck:- test: ["CMD-SHELL", "pgrep -f 'php artisan queue:work' > /dev/null || exit 1"]+ test:+ ["CMD-SHELL", "pgrep -f 'php artisan queue:work' > /dev/null || exit 1"]interval: 60stimeout: 10sretries: 3start_period: 30s-+api-scheduler:- image: jhumanj/opnform-api:1.10.0+ image: jhumanj/opnform-api:1.10.1volumes:- api-storage:/usr/share/nginx/html/storageenvironment:@@ -110,14 +111,18 @@ services:redis:condition: service_healthyhealthcheck:- test: ["CMD-SHELL", "php /usr/share/nginx/html/artisan app:scheduler-status --mode=check --max-minutes=3 || exit 1"]+ test:+ [+ "CMD-SHELL",+ "php /usr/share/nginx/html/artisan app:scheduler-status --mode=check --max-minutes=3 || exit 1",+ ]interval: 60stimeout: 30sretries: 3start_period: 70s # Allow time for first scheduled run and cache writeopnform-ui:- image: jhumanj/opnform-client:1.10.0+ image: jhumanj/opnform-client:1.10.1environment:NUXT_PUBLIC_APP_URL: ${NUXT_PUBLIC_APP_URL:-/}NUXT_PUBLIC_API_BASE: ${NUXT_PUBLIC_API_BASE:-/api}@@ -127,7 +132,8 @@ services:NUXT_PUBLIC_RE_CAPTCHA_SITE_KEY: ${RE_CAPTCHA_SITE_KEY}NUXT_PUBLIC_ROOT_REDIRECT_URL: ${NUXT_PUBLIC_ROOT_REDIRECT_URL}healthcheck:- test: ["CMD-SHELL", "wget --spider -q http://opnform-ui:3000/login || exit 1"]+ test:+ ["CMD-SHELL", "wget --spider -q http://opnform-ui:3000/login || exit 1"]interval: 30stimeout: 10sretries: 3@@ -214,7 +220,7 @@ services:}}environment:- - SERVICE_FQDN_NGINX+ - SERVICE_FQDN_OPNFORMdepends_on:- opnform-api- opnform-ui