diff options
author | Bo-Yi Wu <appleboy.tw@gmail.com> | 2020-12-17 13:00:43 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-17 00:00:43 -0500 |
commit | c57e1f2653904fa6eb428d87d64918453533557c (patch) | |
tree | abc580207d24bcc2207ff4dc8a715c9986d147c0 /docs/content/doc/installation/with-docker.en-us.md | |
parent | 9e456b5a56c3cf1860ca86be85e19619ad544160 (diff) | |
download | gitea-c57e1f2653904fa6eb428d87d64918453533557c.tar.gz gitea-c57e1f2653904fa6eb428d87d64918453533557c.zip |
docs(docker): fix diff format. (#14035)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Diffstat (limited to 'docs/content/doc/installation/with-docker.en-us.md')
-rw-r--r-- | docs/content/doc/installation/with-docker.en-us.md | 32 |
1 files 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: |