cookbook 'minim-server', '~> 0.4.0'
minim-server (5) Versions 0.4.0 Follow0
Installs/Configures minim-server
cookbook 'minim-server', '~> 0.4.0', :supermarket
knife supermarket install minim-server
knife supermarket download minim-server
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']['autopilot'] |
Hash | Autopilot configurations. | 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' => { 'dot_env' => { # the official image # https://hub.docker.com/r/minimworld/minimserver 'REGISTRY' => 'minimworld', 'NAME' => 'minimserver', 'MINIM_VER' => 'latest', # latest-arm, latest-arm64 # Local build #'REGISTRY' => 'yourname', #'NAME' => 'minimserver', #'MINIM_VER' => '0.8.5.2', }, 'config' => { 'services' => { 'minim-server' => { 'volumes' => [ '/path/local/media:/media:ro', ], }, }, }, }, }, )
License and Authors
- Author:: whitestar at osdn.jp
Copyright 2018-2022, 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
docker-grid >= 0.4.0 |
platform_utils >= 0.4.4 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
minim-server CHANGELOG
0.4.0
- add v2.x support.
0.3.0
- rename image.
- separate Dockerfile.
0.2.0
- adds autopilot features.
0.1.1
- update documents.
0.1.0
- Initial release of minim-server
Collaborator Number Metric
0.4.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.4.0 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.4.0 passed this metric
No Binaries Metric
0.4.0 passed this metric
Testing File Metric
0.4.0 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.4.0 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
0.4.0 failed this metric
0.4.0 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.4.0 passed this metric
No Binaries Metric
0.4.0 passed this metric
Testing File Metric
0.4.0 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.4.0 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
0.4.0 passed this metric
0.4.0 passed this metric
Testing File Metric
0.4.0 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.4.0 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
0.4.0 failed this metric
0.4.0 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