aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorBjörn Heinrichs <abuse+git@heinrichs.pro>2021-04-22 16:34:12 +0200
committerGitHub <noreply@github.com>2021-04-22 16:34:12 +0200
commit72e0ad8000412b005fad0daa3a5f91c97b791ec8 (patch)
tree5f23a8feb3f1f869d25eca31e655a534fc888d90 /docs
parent445e47b6922a5bca9da6d72903398d27562cff98 (diff)
downloadgitea-72e0ad8000412b005fad0daa3a5f91c97b791ec8.tar.gz
gitea-72e0ad8000412b005fad0daa3a5f91c97b791ec8.zip
Fix docker enviroment variable from TYPE to DB_TYPE (#15585)
As documented in https://docs.gitea.io/en-us/config-cheat-sheet/ the database type is defined using db_type not type.
Diffstat (limited to 'docs')
-rw-r--r--docs/content/doc/installation/with-docker-rootless.en-us.md4
-rw-r--r--docs/content/doc/installation/with-docker.en-us.md4
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/content/doc/installation/with-docker-rootless.en-us.md b/docs/content/doc/installation/with-docker-rootless.en-us.md
index 4f9921bca8..672c842024 100644
--- a/docs/content/doc/installation/with-docker-rootless.en-us.md
+++ b/docs/content/doc/installation/with-docker-rootless.en-us.md
@@ -89,7 +89,7 @@ services:
server:
image: gitea/gitea:latest-rootless
+ environment:
-+ - GITEA__database__TYPE=mysql
++ - GITEA__database__DB_TYPE=mysql
+ - GITEA__database__HOST=db:3306
+ - GITEA__database__NAME=gitea
+ - GITEA__database__USER=gitea
@@ -130,7 +130,7 @@ services:
server:
image: gitea/gitea:latest-rootless
environment:
-+ - GITEA__database__TYPE=postgres
++ - GITEA__database__DB_TYPE=postgres
+ - GITEA__database__HOST=db:5432
+ - GITEA__database__NAME=gitea
+ - GITEA__database__USER=gitea
diff --git a/docs/content/doc/installation/with-docker.en-us.md b/docs/content/doc/installation/with-docker.en-us.md
index 6c4823b5be..83f82d85d6 100644
--- a/docs/content/doc/installation/with-docker.en-us.md
+++ b/docs/content/doc/installation/with-docker.en-us.md
@@ -118,7 +118,7 @@ services:
environment:
- USER_UID=1000
- USER_GID=1000
-+ - GITEA__database__TYPE=mysql
++ - GITEA__database__DB_TYPE=mysql
+ - GITEA__database__HOST=db:3306
+ - GITEA__database__NAME=gitea
+ - GITEA__database__USER=gitea
@@ -169,7 +169,7 @@ services:
environment:
- USER_UID=1000
- USER_GID=1000
-+ - GITEA__database__TYPE=postgres
++ - GITEA__database__DB_TYPE=postgres
+ - GITEA__database__HOST=db:5432
+ - GITEA__database__NAME=gitea
+ - GITEA__database__USER=gitea