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
fix: remove env, change timezone
christiankolbowd53c1f99d6d4
diff --git a/templates/compose/keycloak-with-postgres.yaml b/templates/compose/keycloak-with-postgres.yamlindex a5cdd16465..2d5bb8f2b9 100644--- a/templates/compose/keycloak-with-postgres.yaml+++ b/templates/compose/keycloak-with-postgres.yaml@@ -12,16 +12,15 @@ services:environment:- PUID=1000- PGID=1000- - TZ=Europe/Berlin- - KEYCLOAK_ADMIN=${KEYCLOAK_ADMIN:-admin}- - KEYCLOAK_ADMIN_PASSWORD=${KEYCLOAK_ADMIN_PASSWORD:-password}+ - TZ=${TIMEZONE:-UTC}+ - KEYCLOAK_ADMIN=${SERVICE_USER_ADMIN}+ - KEYCLOAK_ADMIN_PASSWORD=${SERVICE_PASSWORD_ADMIN}- KC_DB=postgres- KC_DB_USERNAME=${SERVICE_USER_DATABASE}- KC_DB_PASSWORD=${SERVICE_PASSWORD_64_DATABASE}- KC_DB_URL_PORT=5432- KC_DB_URL=jdbc:postgresql://postgres/${POSTGRESQL_DATABASE:-keycloak}- KC_HOSTNAME=${SERVICE_FQDN_KEYCLOAK_8080}- - KC_ENABLE_HTTPS=false- KC_HTTP_ENABLED=true- KC_HEALTH_ENABLED=true- KC_DB_POOL_INITIAL_SIZE=${KEYCLOAK_DB_POOL_INITIAL_SIZE}@@ -37,7 +36,11 @@ services:postgres:condition: service_healthyhealthcheck:- test: ["CMD-SHELL", "exec 3<>/dev/tcp/127.0.0.1/9000;echo -e 'GET /health/ready HTTP/1.1\r\nhost: http://localhost\r\nConnection: close\r\n\r\n' >&3;if [ $? -eq 0 ]; then echo 'Healthcheck Successful';exit 0;else echo 'Healthcheck Failed';exit 1;fi;"]+ test:+ [+ "CMD-SHELL",+ "exec 3<>/dev/tcp/127.0.0.1/9000;echo -e 'GET /health/ready HTTP/1.1\r\nhost: http://localhost\r\nConnection: close\r\n\r\n' >&3;if [ $? -eq 0 ]; then echo 'Healthcheck Successful';exit 0;else echo 'Healthcheck Failed';exit 1;fi;",+ ]interval: 5stimeout: 20sretries: 10diff --git a/templates/compose/keycloak.yaml b/templates/compose/keycloak.yamlindex 388d24d5b1..ed141abd96 100644--- a/templates/compose/keycloak.yaml+++ b/templates/compose/keycloak.yaml@@ -12,11 +12,10 @@ services:environment:- PUID=1000- PGID=1000- - TZ=Europe/Berlin- - KEYCLOAK_ADMIN=${KEYCLOAK_ADMIN:-admin}- - KEYCLOAK_ADMIN_PASSWORD=${KEYCLOAK_ADMIN_PASSWORD:-password}+ - TZ=${TIMEZONE:-UTC}+ - KEYCLOAK_ADMIN=${SERVICE_USER_ADMIN}+ - KEYCLOAK_ADMIN_PASSWORD=${SERVICE_PASSWORD_ADMIN}- KC_HOSTNAME=${SERVICE_FQDN_KEYCLOAK_8080}- - KC_ENABLE_HTTPS=false- KC_HTTP_ENABLED=true- KC_HEALTH_ENABLED=true- KC_DB_POOL_INITIAL_SIZE=${KEYCLOAK_DB_POOL_INITIAL_SIZE}@@ -29,7 +28,11 @@ services:volumes:- keycloak-data:/opt/keycloak/datahealthcheck:- test: ["CMD-SHELL", "exec 3<>/dev/tcp/127.0.0.1/9000;echo -e 'GET /health/ready HTTP/1.1\r\nhost: http://localhost\r\nConnection: close\r\n\r\n' >&3;if [ $? -eq 0 ]; then echo 'Healthcheck Successful';exit 0;else echo 'Healthcheck Failed';exit 1;fi;"]+ test:+ [+ "CMD-SHELL",+ "exec 3<>/dev/tcp/127.0.0.1/9000;echo -e 'GET /health/ready HTTP/1.1\r\nhost: http://localhost\r\nConnection: close\r\n\r\n' >&3;if [ $? -eq 0 ]; then echo 'Healthcheck Successful';exit 0;else echo 'Healthcheck Failed';exit 1;fi;",+ ]interval: 5stimeout: 20sretries: 10