From c57e1f2653904fa6eb428d87d64918453533557c Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Thu, 17 Dec 2020 13:00:43 +0800 Subject: [PATCH] docs(docker): fix diff format. (#14035) Signed-off-by: Bo-Yi Wu --- .../doc/installation/with-docker.en-us.md | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/docs/content/doc/installation/with-docker.en-us.md b/docs/content/doc/installation/with-docker.en-us.md index 4118d190d9..563e85c226 100644 --- a/docs/content/doc/installation/with-docker.en-us.md +++ b/docs/content/doc/installation/with-docker.en-us.md @@ -91,10 +91,10 @@ services: - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro ports: -- - "3000:3000" -- - "222:22" -+ - "8080:3000" -+ - "2221:22" +- - "3000:3000" +- - "222:22" ++ - "8080:3000" ++ - "2221:22" ``` ## Databases @@ -118,11 +118,11 @@ services: environment: - USER_UID=1000 - USER_GID=1000 -+ - DB_TYPE=mysql -+ - DB_HOST=db:3306 -+ - DB_NAME=gitea -+ - DB_USER=gitea -+ - DB_PASSWD=gitea ++ - DB_TYPE=mysql ++ - DB_HOST=db:3306 ++ - DB_NAME=gitea ++ - DB_USER=gitea ++ - DB_PASSWD=gitea restart: always networks: - gitea @@ -169,11 +169,11 @@ services: environment: - USER_UID=1000 - USER_GID=1000 -+ - DB_TYPE=postgres -+ - DB_HOST=db:5432 -+ - DB_NAME=gitea -+ - DB_USER=gitea -+ - DB_PASSWD=gitea ++ - DB_TYPE=postgres ++ - DB_HOST=db:5432 ++ - DB_NAME=gitea ++ - DB_USER=gitea ++ - DB_PASSWD=gitea restart: always networks: - gitea @@ -226,8 +226,8 @@ services: networks: - gitea volumes: -- - ./gitea:/data -+ - gitea:/data +- - ./gitea:/data ++ - gitea:/data - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro ports: