From 695c4b4b0ecb65c87fd7e9c8f77e612b99b8abe3 Mon Sep 17 00:00:00 2001 From: "Stephen J. Fuhry" Date: Sat, 16 Apr 2022 11:59:56 -0400 Subject: [PATCH] upgrade postgres refrence to 14 (#19416) --- docs/content/doc/installation/with-docker-rootless.en-us.md | 2 +- docs/content/doc/installation/with-docker.en-us.md | 2 +- docs/content/doc/installation/with-docker.zh-cn.md | 2 +- integrations/README_ZH.md | 2 +- 4 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 e3de969122..634e08a72e 100644 --- a/docs/content/doc/installation/with-docker-rootless.en-us.md +++ b/docs/content/doc/installation/with-docker-rootless.en-us.md @@ -147,7 +147,7 @@ services: + - db + + db: -+ image: postgres:13 ++ image: postgres:14 + restart: always + environment: + - POSTGRES_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 6322e0b953..66e596ea4d 100644 --- a/docs/content/doc/installation/with-docker.en-us.md +++ b/docs/content/doc/installation/with-docker.en-us.md @@ -187,7 +187,7 @@ services: + - db + + db: -+ image: postgres:13 ++ image: postgres:14 + restart: always + environment: + - POSTGRES_USER=gitea diff --git a/docs/content/doc/installation/with-docker.zh-cn.md b/docs/content/doc/installation/with-docker.zh-cn.md index 8461951f72..77577736f2 100644 --- a/docs/content/doc/installation/with-docker.zh-cn.md +++ b/docs/content/doc/installation/with-docker.zh-cn.md @@ -172,7 +172,7 @@ services: + - db + + db: -+ image: postgres:13 ++ image: postgres:14 + restart: always + environment: + - POSTGRES_USER=gitea diff --git a/integrations/README_ZH.md b/integrations/README_ZH.md index 39639f9b89..eebb14de73 100644 --- a/integrations/README_ZH.md +++ b/integrations/README_ZH.md @@ -36,7 +36,7 @@ TEST_MYSQL_HOST=localhost:3306 TEST_MYSQL_DBNAME=test TEST_MYSQL_USERNAME=root T ## 如何使用 pgsql 数据库进行集成测试 同上,首先在 docker 容器里部署一个 pgsql 数据库 ``` -docker run -e "POSTGRES_DB=test" -p 5432:5432 --rm --name pgsql postgres:13 #(just ctrl-c to stop db and clean the container) +docker run -e "POSTGRES_DB=test" -p 5432:5432 --rm --name pgsql postgres:14 #(just ctrl-c to stop db and clean the container) ``` 之后便可以基于这个数据库进行集成测试 ```