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): forgejo login failure (#8145)

ShadowArcanist4ca5a7a3ac3f
diff --git a/templates/compose/forgejo-with-mariadb.yaml b/templates/compose/forgejo-with-mariadb.yaml
index 00ceb350dc..1296ff5155 100644
--- a/templates/compose/forgejo-with-mariadb.yaml
+++ b/templates/compose/forgejo-with-mariadb.yaml
@@ -10,7 +10,7 @@ services:
image: codeberg.org/forgejo/forgejo:8
environment:
- SERVICE_URL_FORGEJO_3000
- - FORGEJO__server__ROOT_URL=${SERVICE_URL_FORGEJO_3000}
+ - FORGEJO__server__ROOT_URL=${SERVICE_URL_FORGEJO}
- FORGEJO__migrations__ALLOWED_DOMAINS=${FORGEJO__migrations__ALLOWED_DOMAINS}
- FORGEJO__migrations__ALLOW_LOCALNETWORKS=${FORGEJO__migrations__ALLOW_LOCALNETWORKS-false}
- USER_UID=1000
diff --git a/templates/compose/forgejo-with-mysql.yaml b/templates/compose/forgejo-with-mysql.yaml
index e7b677cbbe..c0a770b21f 100644
--- a/templates/compose/forgejo-with-mysql.yaml
+++ b/templates/compose/forgejo-with-mysql.yaml
@@ -10,7 +10,7 @@ services:
image: codeberg.org/forgejo/forgejo:8
environment:
- SERVICE_URL_FORGEJO_3000
- - FORGEJO__server__ROOT_URL=${SERVICE_URL_FORGEJO_3000}
+ - FORGEJO__server__ROOT_URL=${SERVICE_URL_FORGEJO}
- FORGEJO__migrations__ALLOWED_DOMAINS=${FORGEJO__migrations__ALLOWED_DOMAINS}
- FORGEJO__migrations__ALLOW_LOCALNETWORKS=${FORGEJO__migrations__ALLOW_LOCALNETWORKS-false}
- USER_UID=1000
diff --git a/templates/compose/forgejo-with-postgresql.yaml b/templates/compose/forgejo-with-postgresql.yaml
index 6011711a8e..5fdf9bba47 100644
--- a/templates/compose/forgejo-with-postgresql.yaml
+++ b/templates/compose/forgejo-with-postgresql.yaml
@@ -10,7 +10,7 @@ services:
image: codeberg.org/forgejo/forgejo:8
environment:
- SERVICE_URL_FORGEJO_3000
- - FORGEJO__server__ROOT_URL=${SERVICE_URL_FORGEJO_3000}
+ - FORGEJO__server__ROOT_URL=${SERVICE_URL_FORGEJO}
- FORGEJO__migrations__ALLOWED_DOMAINS=${FORGEJO__migrations__ALLOWED_DOMAINS}
- FORGEJO__migrations__ALLOW_LOCALNETWORKS=${FORGEJO__migrations__ALLOW_LOCALNETWORKS-false}
- USER_UID=1000
diff --git a/templates/compose/forgejo-with-runner-with-mariadb.yaml b/templates/compose/forgejo-with-runner-with-mariadb.yaml
index bcbdfc6f8c..a0a8a412e8 100644
--- a/templates/compose/forgejo-with-runner-with-mariadb.yaml
+++ b/templates/compose/forgejo-with-runner-with-mariadb.yaml
@@ -11,7 +11,7 @@ services:
image: codeberg.org/forgejo/forgejo:8
environment:
- SERVICE_URL_FORGEJO_3000
- - FORGEJO__server__ROOT_URL=${SERVICE_URL_FORGEJO_3000}
+ - FORGEJO__server__ROOT_URL=${SERVICE_URL_FORGEJO}
- FORGEJO__migrations__ALLOWED_DOMAINS=${FORGEJO__migrations__ALLOWED_DOMAINS}
- FORGEJO__migrations__ALLOW_LOCALNETWORKS=${FORGEJO__migrations__ALLOW_LOCALNETWORKS-false}
- USER_UID=1000
diff --git a/templates/compose/forgejo-with-runner-with-mysql.yaml b/templates/compose/forgejo-with-runner-with-mysql.yaml
index a096f35633..54e6647946 100644
--- a/templates/compose/forgejo-with-runner-with-mysql.yaml
+++ b/templates/compose/forgejo-with-runner-with-mysql.yaml
@@ -11,7 +11,7 @@ services:
image: codeberg.org/forgejo/forgejo:8
environment:
- SERVICE_URL_FORGEJO_3000
- - FORGEJO__server__ROOT_URL=${SERVICE_URL_FORGEJO_3000}
+ - FORGEJO__server__ROOT_URL=${SERVICE_URL_FORGEJO}
- FORGEJO__migrations__ALLOWED_DOMAINS=${FORGEJO__migrations__ALLOWED_DOMAINS}
- FORGEJO__migrations__ALLOW_LOCALNETWORKS=${FORGEJO__migrations__ALLOW_LOCALNETWORKS-false}
- USER_UID=1000
diff --git a/templates/compose/forgejo-with-runner-with-postgresql.yaml b/templates/compose/forgejo-with-runner-with-postgresql.yaml
index 2139ed3af5..d9a770c53c 100644
--- a/templates/compose/forgejo-with-runner-with-postgresql.yaml
+++ b/templates/compose/forgejo-with-runner-with-postgresql.yaml
@@ -11,7 +11,7 @@ services:
image: codeberg.org/forgejo/forgejo:8
environment:
- SERVICE_URL_FORGEJO_3000
- - FORGEJO__server__ROOT_URL=${SERVICE_URL_FORGEJO_3000}
+ - FORGEJO__server__ROOT_URL=${SERVICE_URL_FORGEJO}
- FORGEJO__migrations__ALLOWED_DOMAINS=${FORGEJO__migrations__ALLOWED_DOMAINS}
- FORGEJO__migrations__ALLOW_LOCALNETWORKS=${FORGEJO__migrations__ALLOW_LOCALNETWORKS-false}
- USER_UID=1000
diff --git a/templates/compose/forgejo-with-runner.yaml b/templates/compose/forgejo-with-runner.yaml
index 1a35cd6b49..68331b7dbb 100644
--- a/templates/compose/forgejo-with-runner.yaml
+++ b/templates/compose/forgejo-with-runner.yaml
@@ -11,7 +11,7 @@ services:
image: codeberg.org/forgejo/forgejo:8
environment:
- SERVICE_URL_FORGEJO_3000
- - FORGEJO__server__ROOT_URL=${SERVICE_URL_FORGEJO_3000}
+ - FORGEJO__server__ROOT_URL=${SERVICE_URL_FORGEJO}
- FORGEJO__migrations__ALLOWED_DOMAINS=${FORGEJO__migrations__ALLOWED_DOMAINS}
- FORGEJO__migrations__ALLOW_LOCALNETWORKS=${FORGEJO__migrations__ALLOW_LOCALNETWORKS:-false}
- USER_UID=1000
diff --git a/templates/compose/forgejo.yaml b/templates/compose/forgejo.yaml
index 86d57ee4d1..e731707b7f 100644
--- a/templates/compose/forgejo.yaml
+++ b/templates/compose/forgejo.yaml
@@ -10,7 +10,7 @@ services:
image: codeberg.org/forgejo/forgejo:8
environment:
- SERVICE_URL_FORGEJO_3000
- - FORGEJO__server__ROOT_URL=${SERVICE_URL_FORGEJO_3000}
+ - FORGEJO__server__ROOT_URL=${SERVICE_URL_FORGEJO}
- FORGEJO__migrations__ALLOWED_DOMAINS=${FORGEJO__migrations__ALLOWED_DOMAINS}
- FORGEJO__migrations__ALLOW_LOCALNETWORKS=${FORGEJO__migrations__ALLOW_LOCALNETWORKS-false}
- USER_UID=1000