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]',
36 'skip_setup' => false,
39 'skip_setup' => false,
44 #'external_url' => "http://#{gitlab_cn}:#{gitlab_http_port}",
46 #'time_zone' => 'Asia/Tokyo',
47 #'gitlab_shell_ssh_port' => gitlab_ssh_port.to_i,
54 #'hostname' => gitlab_cn,
56 #"#{gitlab_http_port}:#{gitlab_http_port}",
57 #"#{gitlab_ssh_port}:22",