Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

RSS

minim-server (2) Versions 0.1.1

Installs/Configures minim-server

Berkshelf
Policyfile
Knife
cookbook 'minim-server', '~> 0.1.1'
cookbook 'minim-server', '~> 0.1.1', :supermarket
knife cookbook site install minim-server
knife cookbook site download minim-server
README
Dependencies
Changelog
Quality 50%

minim-server Cookbook

This cookbook sets up a MinimServer by Docker-compose. You can build MinimServer Docker image and run it by docker-compose.

Note: do not push a Docker image including MinimServer to any public registries, because its re-distribution is not allowed by the MinimServer license.

Contents

Requirements

platforms

  • Debian >= 9.0
  • Ubuntu >= 16.04
  • CentOS,RHEL >= 7.3

packages

  • none.

Attributes

Key Type Description, example Default
['minim-server']['Dockerfile']['FROM'] String Base image in the Dockerfile. See attributes/default.rb
['minim-server']['docker-compose']['app_dir'] String "#{node['docker-grid']['compose']['app_dir']}/minim-server"
['minim-server']['docker-compose']['data_dir'] String "#{node['minim-server']['docker-compose']['app_dir']}/data"
['minim-server']['docker-compose']['dot_env'] Hash .env configurations. See attributes/default.rb
['minim-server']['docker-compose']['config'] Hash docker-compose.yml configurations. See attributes/default.rb

Usage

Recipes

minim-server::default

This recipe does nothing.

minim-server::docker-compose

This recipe generates a docker-compose.yml for the Minim-server.

Role Examples

  • roles/minim-server-on-docker.rb
name 'minim-server-on-docker'
description 'Minim-server on Docker'

run_list(
  # see https://osdn.net/projects/metasearch/scm/git/grid-chef-repo/blobs/master/roles/docker-new-repo.rb
  'role[docker]',
  'recipe[minim-server::docker-compose]',
)

#env_run_lists

#default_attributes

override_attributes(
  'minim-server' => {
    'docker-compose' => {
      'config' => {
        'services' => {
          'minim-server' => {
            'volumes' => [
              '/path/local/media:/media:ro',
            ],
          },
        },
      },
    },
  },
)

License and Authors

  • Author:: whitestar at osdn.jp
Copyright 2018, whitestar

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Dependent cookbooks

platform_utils >= 0.4.4
docker-grid >= 0.4.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

minim-server CHANGELOG

0.1.1

  • update documents.

0.1.0

  • Initial release of minim-server

Collaborator Number Metric
            

0.1.1 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.1.1 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.1.1 passed this metric

No Binaries Metric
            

0.1.1 passed this metric

Publish Metric
            

0.1.1 passed this metric

Supported Platforms Metric
            

0.1.1 passed this metric

Testing File Metric
            

0.1.1 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.1.1 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number