2 # Copyright 2017, whitestar
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
17 name 'gitlab-on-docker'
18 description 'GitLab on Docker'
20 #gitlab_cn = 'gitlab.io.example.com' # default: node['fqdn']
21 #gitlab_http_port = '80' # default: 80, and 8080 already in use.
22 #gitlab_ssh_port = '2022'
26 'recipe[gitlab-grid::docker-compose]',
27 'recipe[platform_utils::sysctl]',
37 'skip_setup' => false,
40 'skip_setup' => false,
45 #'external_url' => "http://#{gitlab_cn}:#{gitlab_http_port}",
47 #'time_zone' => 'Asia/Tokyo',
48 #'gitlab_shell_ssh_port' => gitlab_ssh_port.to_i,
55 #'hostname' => gitlab_cn,
57 #"#{gitlab_http_port}:#{gitlab_http_port}",
58 #"#{gitlab_ssh_port}:22",
71 'vm.swappiness' => '10', # default: '60'