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 4f9921bca88..672c842024d 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 6c4823b5bee..83f82d85d63 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