Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
gitlab-ce
Commits
4ebd447a
Commit
4ebd447a
authored
Dec 27, 2015
by
Sytse Sijbrandij
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use environment variables to configure GitLab.
parent
a5274664
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
config/initializers/1_settings.rb
config/initializers/1_settings.rb
+1
-1
doc/README.md
doc/README.md
+1
-0
No files found.
config/initializers/1_settings.rb
View file @
4ebd447a
...
...
@@ -144,7 +144,7 @@ Settings.gitlab['default_projects_limit'] ||= 10
Settings
.
gitlab
[
'default_branch_protection'
]
||=
2
Settings
.
gitlab
[
'default_can_create_group'
]
=
true
if
Settings
.
gitlab
[
'default_can_create_group'
].
nil?
Settings
.
gitlab
[
'default_theme'
]
=
Gitlab
::
Themes
::
APPLICATION_DEFAULT
if
Settings
.
gitlab
[
'default_theme'
].
nil?
Settings
.
gitlab
[
'host'
]
||=
'localhost'
Settings
.
gitlab
[
'host'
]
||=
ENV
[
'GITLAB_HOST'
]
||
'localhost'
Settings
.
gitlab
[
'ssh_host'
]
||=
Settings
.
gitlab
.
host
Settings
.
gitlab
[
'https'
]
=
false
if
Settings
.
gitlab
[
'https'
].
nil?
Settings
.
gitlab
[
'port'
]
||=
Settings
.
gitlab
.
https
?
443
:
80
...
...
doc/README.md
View file @
4ebd447a
...
...
@@ -56,6 +56,7 @@
-
[
Issue closing
](
customization/issue_closing.md
)
Customize how to close an issue from commit messages.
-
[
Libravatar
](
customization/libravatar.md
)
Use Libravatar for user avatars.
-
[
Log system
](
logs/logs.md
)
Log system.
-
[
Environmental Variables
](
administration/environmental_variables.md
)
to configure GitLab.
-
[
Operations
](
operations/README.md
)
Keeping GitLab up and running
-
[
Raketasks
](
raketasks/README.md
)
Backups, maintenance, automatic web hook setup and the importing of projects.
-
[
Security
](
security/README.md
)
Learn what you can do to further secure your GitLab instance.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment