updated docs to reflect Crate changes

This commit is contained in:
Claus Matzinger 2016-08-16 14:02:46 +02:00
parent 20cc9e800f
commit 0a5faaf024
No known key found for this signature in database
GPG Key ID: D67A1F4E8B504267
1 changed files with 3 additions and 9 deletions

View File

@ -69,16 +69,10 @@ Crate stores all important data in */data*. It's advised to mount this directory
## 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
# docker run -d crate crate -Des.config=</path/to>/crate.yml
```
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:
```console
# docker run -d crate crate -Des.cluster.name=<my-cluster-name>
# docker run -d -v <custom/config/path>/crate.yml:/crate/config/crate.yml crate crate
```
For further configuration options refer to the[Configuration](https://crate.io/docs/stable/configuration.html) section of our documentation.