aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/doc
diff options
context:
space:
mode:
authorDane <dane.elwell@gmail.com>2018-10-03 15:16:48 +0100
committerLauris BH <lauris@nix.lv>2018-10-03 17:16:48 +0300
commit513db2737788c330f9a48de71de5926b73588f9c (patch)
treeb72fe3cfe8e70dd690e33aae34691c4604b4c47d /docs/content/doc
parent2b8dc17db72d1011f88bee72463ff9594383e080 (diff)
downloadgitea-513db2737788c330f9a48de71de5926b73588f9c.tar.gz
gitea-513db2737788c330f9a48de71de5926b73588f9c.zip
Add missing envionment vars for DB with Docker (#5007)
Current docs demonstrate how to configure a database container but don't explicitly specify that you should add additional environment variables to the Gitea container to make it use the database. This just demonstrates the changes required. Signed-off-by: Dane Elwell <dane.elwell@ukfast.co.uk>
Diffstat (limited to 'docs/content/doc')
-rw-r--r--docs/content/doc/installation/with-docker.en-us.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/content/doc/installation/with-docker.en-us.md b/docs/content/doc/installation/with-docker.en-us.md
index fb4d64e06a..8d1ff2a1a8 100644
--- a/docs/content/doc/installation/with-docker.en-us.md
+++ b/docs/content/doc/installation/with-docker.en-us.md
@@ -105,6 +105,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
restart: always
networks:
- gitea
@@ -148,6 +153,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
restart: always
networks:
- gitea