4 This cookbook sets up a MinimServer by Docker-compose.
5 You can build MinimServer Docker image and run it by `docker-compose`.
7 Note: do not push a Docker image including MinimServer to any public registries, because its re-distribution is not allowed by the [MinimServer license](http://minimserver.com/license.html).
11 - [Requirements](#requirements)
12 - [platforms](#platforms)
13 - [packages](#packages)
14 - [Attributes](#attributes)
17 - [minim-server::default](#minim-serverdefault)
18 - [minim-server::docker-compose](#minim-serverdocker-compose)
19 - [Role Examples](#role-examples)
20 - [License and Authors](#license-and-authors)
35 |Key|Type|Description, example|Default|
37 |`['minim-server']['Dockerfile']['FROM']`|String|Base image in the `Dockerfile`.|See `attributes/default.rb`|
38 |`['minim-server']['docker-compose']['app_dir']`|String||`"#{node['docker-grid']['compose']['app_dir']}/minim-server"`|
39 |`['minim-server']['docker-compose']['data_dir']`|String||`"#{node['minim-server']['docker-compose']['app_dir']}/data"`|
40 |`['minim-server']['docker-compose']['dot_env']`|Hash|`.env` configurations.|See `attributes/default.rb`|
41 |`['minim-server']['docker-compose']['config']`|Hash|`docker-compose.yml` configurations.|See `attributes/default.rb`|
47 #### minim-server::default
49 This recipe does nothing.
51 #### minim-server::docker-compose
53 This recipe generates a `docker-compose.yml` for the Minim-server.
57 - `roles/minim-server-on-docker.rb`
60 name 'minim-server-on-docker'
61 description 'Minim-server on Docker'
65 'recipe[minim-server::docker-compose]',
79 '/path/local/media:/media:ro',
89 ## License and Authors
91 - Author:: whitestar at osdn.jp
94 Copyright 2018, whitestar
96 Licensed under the Apache License, Version 2.0 (the "License");
97 you may not use this file except in compliance with the License.
98 You may obtain a copy of the License at
100 http://www.apache.org/licenses/LICENSE-2.0
102 Unless required by applicable law or agreed to in writing, software
103 distributed under the License is distributed on an "AS IS" BASIS,
104 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
105 See the License for the specific language governing permissions and
106 limitations under the License.