Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nest
Puppet
Commits
baf81d4b
Commit
baf81d4b
authored
Nov 28, 2020
by
James T. Lee
Browse files
gitlab: Add comments
parent
66ff0224
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
manifests/service/gitlab.pp
manifests/service/gitlab.pp
+4
-0
No files found.
manifests/service/gitlab.pp
View file @
baf81d4b
...
@@ -45,6 +45,8 @@ class nest::service::gitlab {
...
@@ -45,6 +45,8 @@ class nest::service::gitlab {
require
=>
Docker_network
[
'gitlab'
],
require
=>
Docker_network
[
'gitlab'
],
}
}
# Docker's IPv6 support expects public addresses
# so it doesn't set up a NAT automatically
firewall
{
'100 gitlab nat'
:
firewall
{
'100 gitlab nat'
:
table
=>
nat
,
table
=>
nat
,
chain
=>
'POSTROUTING'
,
chain
=>
'POSTROUTING'
,
...
@@ -53,6 +55,8 @@ class nest::service::gitlab {
...
@@ -53,6 +55,8 @@ class nest::service::gitlab {
provider
=>
ip6tables
,
provider
=>
ip6tables
,
}
}
# Use iptables to forward the SSH service to avoid listener conflicts
# with Docker's own port exposure method, and to support IPv6
nest::lib::port_forward
{
'gitlab ssh'
:
nest::lib::port_forward
{
'gitlab ssh'
:
port
=>
22
,
port
=>
22
,
proto
=>
tcp
,
proto
=>
tcp
,
...
...
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