Merge pull request #662 from crate/crate-minor-docs-update

Crate: Updated docs to reflect config file changes
This commit is contained in:
Tianon Gravi 2016-08-17 10:12:39 -07:00 committed by GitHub
commit b426695109
1 changed files with 3 additions and 9 deletions

View File

@ -69,19 +69,13 @@ Crate stores all important data in */data*. It's advised to mount this directory
## Use Custom Crate Configuration ## Use Custom Crate Configuration
Crate is controlled by a single configuration file which has sensible defaults already. If you derive your container from the Crate container, make sure to place your file inside it and let Crate know where to find it: Starting with 0.55.0, Crate does no longer support providing custom configuration files. However it is still possible to mount Crate's configuration into `/crate/config/crate.yml`.
```console ```console
# docker run -d crate crate -Des.config=</path/to>/crate.yml # docker run -d -v <custom/config/path>/crate.yml:/crate/config/crate.yml crate crate
``` ```
Other configuration settings may be specified upon startup using the `-D` option prefix. For example, configuring the cluster name by using system properties works like this: For further configuration options refer to the[Configuration](https://crate.io/docs/stable/configuration.html) section of our documentation.
```console
# docker run -d crate crate -Des.cluster.name=<my-cluster-name>
```
For further configuration options refer to the [Configuration](https://crate.io/docs/stable/configuration.html) section of our documentation.
## Environment ## Environment