updated docs to reflect Crate changes
This commit is contained in:
parent
20cc9e800f
commit
0a5faaf024
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue