Commit b0f67d6e7a5c1dea25e4fd7485eeb0044e6d542a
1 parent
696fe2a3
Exists in
master
and in
11 other branches
Document TCP port overrides
Showing
1 changed file
with
17 additions
and
0 deletions
Show diff stats
README.md
@@ -70,6 +70,23 @@ installing omnibus-gitlab on an unsupported platform. Solution: double check on | @@ -70,6 +70,23 @@ installing omnibus-gitlab on an unsupported platform. Solution: double check on | ||
70 | the download page whether you downloaded a package for the correct operating | 70 | the download page whether you downloaded a package for the correct operating |
71 | system. | 71 | system. |
72 | 72 | ||
73 | +#### TCP ports for GitLab services are already taken | ||
74 | + | ||
75 | +By default, the services in omnibus-gitlab are using the following TCP ports: | ||
76 | +Redis (6379), PostgreSQL (5432) and Unicorn (8080) listen on 127.0.0.1. Nginx | ||
77 | +listens on port 80 (HTTP) and/or 443 (HTTPS) on all interfaces. | ||
78 | + | ||
79 | +The ports for Redis, PostgreSQL and Unicorn can be overriden in | ||
80 | +`/etc/gitlab/gitlab.rb` as follows: | ||
81 | + | ||
82 | +```ruby | ||
83 | +redis['port'] = 1234 | ||
84 | +postgresql['port'] = 2345 | ||
85 | +unicorn['port'] = 3456 | ||
86 | +``` | ||
87 | + | ||
88 | +For Nginx port changes please see the section on enabling HTTPS below. | ||
89 | + | ||
73 | ## Updating | 90 | ## Updating |
74 | 91 | ||
75 | Instructions for updating your Omnibus installation and upgrading from a manual installation are in the [update doc](doc/update.md). | 92 | Instructions for updating your Omnibus installation and upgrading from a manual installation are in the [update doc](doc/update.md). |