[DRE-commits] [gitlab] 07/08: use environemnt variables

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Wed Jan 27 10:57:17 UTC 2016


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master
in repository gitlab.

commit e50a5a702d752933c5d1ad3801b08b4dd1a7f797
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Wed Jan 27 13:40:11 2016 +0530

    use environemnt variables
---
 debian/changelog       |  1 +
 debian/conf/gitlab.yml | 14 +++++++++-----
 2 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 74ef979..63090ae 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ gitlab (8.4.0+dfsg~rc2-3) UNRELEASED; urgency=medium
   * Add nginx to dependencies (Closes: #812724)
   * Add ruby-influxdb to dependencies (Closes: #812839)
   * Add missing dependecies from Gemfile and tighen versions
+  * Use environmental variables by commenting out defaults in gitlab.yml
 
  -- Pirate Praveen <praveen at debian.org>  Mon, 25 Jan 2016 07:56:09 +0530
 
diff --git a/debian/conf/gitlab.yml b/debian/conf/gitlab.yml
index 34bfa2c..c2a7d29 100644
--- a/debian/conf/gitlab.yml
+++ b/debian/conf/gitlab.yml
@@ -21,6 +21,8 @@
 #     result in various issues such as failures of GitLab CI builds.
 # 5. Review this configuration file for other settings you may want to adjust
 
+# For Debian specific changes: See /usr/share/doc/README.Debian
+
 production: &base
   #
   # 1. GitLab app settings
@@ -29,8 +31,9 @@ production: &base
   ## GitLab settings
   gitlab:
     ## Web server settings (note: host is the FQDN, do not include http://)
-    host: localhost
-    port: 80 # Set to 443 if using HTTPS, see installation.md#using-https for additional HTTPS configuration details
+    # Using environmental variables from /etc/gitlab/gitlab-debian.conf
+    #host: localhost
+    #port: 80 # Set to 443 if using HTTPS, see installation.md#using-https for additional HTTPS configuration details
     https: false # Set to true if using HTTPS, see installation.md#using-https for additional HTTPS configuration details
 
     # Uncommment this line below if your ssh host is different from HTTP/HTTPS one
@@ -55,9 +58,10 @@ production: &base
     # Uncomment and set to false if you need to disable email sending from GitLab (default: true)
     # email_enabled: true
     # Email address used in the "From" field in mails sent by GitLab
-    email_from: example at example.com
-    email_display_name: GitLab
-    email_reply_to: noreply at example.com
+    # Using environmental variables from /etc/gitlab/gitlab-debian.conf
+    # email_from: example at example.com
+    # email_display_name: GitLab
+    # email_reply_to: noreply at example.com
 
     # Email server smtp settings are in config/initializers/smtp_settings.rb.sample
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gitlab.git



More information about the Pkg-ruby-extras-commits mailing list