1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-30 08:27:32 -04:00

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.
This commit is contained in:
Björn Heinrichs 2021-04-22 16:34:12 +02:00 committed by GitHub
parent 445e47b692
commit 72e0ad8000
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -89,7 +89,7 @@ services:
server: server:
image: gitea/gitea:latest-rootless image: gitea/gitea:latest-rootless
+ environment: + environment:
+ - GITEA__database__TYPE=mysql + - GITEA__database__DB_TYPE=mysql
+ - GITEA__database__HOST=db:3306 + - GITEA__database__HOST=db:3306
+ - GITEA__database__NAME=gitea + - GITEA__database__NAME=gitea
+ - GITEA__database__USER=gitea + - GITEA__database__USER=gitea
@ -130,7 +130,7 @@ services:
server: server:
image: gitea/gitea:latest-rootless image: gitea/gitea:latest-rootless
environment: environment:
+ - GITEA__database__TYPE=postgres + - GITEA__database__DB_TYPE=postgres
+ - GITEA__database__HOST=db:5432 + - GITEA__database__HOST=db:5432
+ - GITEA__database__NAME=gitea + - GITEA__database__NAME=gitea
+ - GITEA__database__USER=gitea + - GITEA__database__USER=gitea

View File

@ -118,7 +118,7 @@ services:
environment: environment:
- USER_UID=1000 - USER_UID=1000
- USER_GID=1000 - USER_GID=1000
+ - GITEA__database__TYPE=mysql + - GITEA__database__DB_TYPE=mysql
+ - GITEA__database__HOST=db:3306 + - GITEA__database__HOST=db:3306
+ - GITEA__database__NAME=gitea + - GITEA__database__NAME=gitea
+ - GITEA__database__USER=gitea + - GITEA__database__USER=gitea
@ -169,7 +169,7 @@ services:
environment: environment:
- USER_UID=1000 - USER_UID=1000
- USER_GID=1000 - USER_GID=1000
+ - GITEA__database__TYPE=postgres + - GITEA__database__DB_TYPE=postgres
+ - GITEA__database__HOST=db:5432 + - GITEA__database__HOST=db:5432
+ - GITEA__database__NAME=gitea + - GITEA__database__NAME=gitea
+ - GITEA__database__USER=gitea + - GITEA__database__USER=gitea