cluster_name = 'dcos0'

name "#{cluster_name}-universe-server"
description "#{cluster_name} universe server"

run_list(
  "role[#{cluster_name}]",
  'role[docker4dcos]',
  'recipe[dcos-grid::universe-server]',
)

#env_run_lists

default_attributes(
)

override_attributes(
  'dcos-grid' => {
    'universe-server' => {
      'docker-compose' => {
        'config' => {
          'version' => '2',
          'services' => {
            'universe' => {
              'image' => 'mesosphere/universe-server:20161211T190517Z-pull-863-c51dcb3955',
              'ports' => [
                '8085:80',
              ],
            },
          },
        },
      },
    },
  },
)
