+=begin
+ # Version 2 docker-compose format
+ 'config_format_version' => '2',
+ 'config' => {
+ 'services' => {
+ 'concourse-web' => {
+ 'image' => image,
+ 'ports' => [
+ "#{port}:8080",
+ ],
+ #'volumes' => [
+ # # These volumes will be set by the concourse-ci::docker-compose recipe automatically.
+ # #"#{node['concourse-ci']['docker-compose']['web_keys_dir']}:/concourse-keys",
+ #],
+ 'environment' => {
+ 'CONCOURSE_EXTERNAL_URL' => "http://192.168.1.3:#{port}",
+ #'CONCOURSE_RESOURCE_CHECKING_INTERVAL' => '1m', # default
+ },
+ },
+ 'concourse-worker' => {
+ 'image' => image,
+ #'volumes' => [
+ # # These volumes will be set by the concourse-ci::docker-compose recipe automatically.
+ # #"#{node['concourse-ci']['docker-compose']['worker_keys_dir']}:/concourse-keys",
+ #],
+ },
+ },
+ },
+=end