1 name 'concourse-on-docker'
2 description 'Concourse on Docker'
4 image = 'concourse/concourse'
5 #port = '8080' # '8443' (for https)
6 #concourse_cn = 'concourse.io.example.com'
9 #'recipe[ssl_cert::server_key_pairs]', # for https
11 'recipe[concourse-ci::docker-compose]',
12 #'recipe[concourse-ci::fly]',
28 'skip_setup' => false,
31 'skip_setup' => false,
35 'with_ssl_cert_cookbook' => false, # or true (for https)
37 #'common_name' => concourse_cn,
41 # Version 1 docker-compose format
45 #"#{port}:8080", # If you sepecify no value, Chef will sets '8080:8080'.
46 #"#{port}:8443", # for https
49 # If you sepecify no value, Chef will sets "http://#{node['ipaddress']}:8080".
50 #'CONCOURSE_EXTERNAL_URL' => "http://192.168.1.3:#{port}", # or "https://192.168.1.3:#{port}"
51 #'CONCOURSE_TLS_BIND_PORT' => '8443', # activate HTTPS
52 # These environments will be set by the concourse-ci::docker-compose recipe automatically.
53 #'CONCOURSE_TLS_CERT' => '/root/server.crt',
54 #'CONCOURSE_TLS_KEY' => '/root/server.key',
57 # These volumes will be set by the concourse-ci::docker-compose recipe automatically.
58 #"#{server_cert_path(node['concourse-ci']['ssl_cert']['common_name'])}:/root/server.crt:ro",
59 #"#{server_key_path(node['concourse-ci']['ssl_cert']['common_name'])}:/root/server.key:ro",
62 'concourse-worker' => {