update quickstart docker-compose example, add to release instructions (#10527)

* update quickstart docker-compose example, add to release instructions

* adjust

* spelling
This commit is contained in:
Clint Wylie 2020-10-26 23:14:07 -07:00 committed by GitHub
parent ee136303bb
commit aa9c0ec650
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 8 deletions

View File

@ -59,7 +59,17 @@ and update the script tag top level html file, [unified-console.html](../web-con
<script src="public/web-console-0.18.0.js"></script>
```
and open a PR to the master branch.
Finally, the sample [`docker-compose.yml`](https://github.com/apache/druid/blob/master/distribution/docker/docker-compose.yml) used in the Docker quickstart documentation should be updated to reflect the version for the next release:
```yaml
...
coordinator:
image: apache/druid:0.18.0
container_name: coordinator
...
```
Once this is completed, open a PR to the master branch. Also, be sure to confirm that these versions are all correct in the release branch, otherwise fix them and open a backport PR to the release branch.
### Release branch hygiene

View File

@ -46,7 +46,7 @@ services:
- ZOO_MY_ID=1
coordinator:
image: apache/druid:0.17.0
image: apache/druid:0.20.0
container_name: coordinator
volumes:
- ./storage:/opt/data
@ -62,7 +62,7 @@ services:
- environment
broker:
image: apache/druid:0.17.0
image: apache/druid:0.20.0
container_name: broker
volumes:
- broker_var:/opt/druid/var
@ -78,7 +78,7 @@ services:
- environment
historical:
image: apache/druid:0.17.0
image: apache/druid:0.20.0
container_name: historical
volumes:
- ./storage:/opt/data
@ -95,7 +95,7 @@ services:
- environment
middlemanager:
image: apache/druid:0.17.0
image: apache/druid:0.20.0
container_name: middlemanager
volumes:
- ./storage:/opt/data
@ -112,7 +112,7 @@ services:
- environment
router:
image: apache/druid:0.17.0
image: apache/druid:0.20.0
container_name: router
volumes:
- router_var:/opt/druid/var

View File

@ -32,11 +32,11 @@ Before beginning the quickstart, it is helpful to read the [general Druid overvi
## Getting started
The Druid source code contains [an example `docker-compose.yml`](https://github.com/apache/druid/blob/master/distribution/docker/docker-compose.yml) which can pull an image from Docker Hub and is suited to be used as an example environment and to experiment with Docker based Druid configuration and deployments.
The Druid source code contains [an example `docker-compose.yml`](https://github.com/apache/druid/blob/{{DRUIDVERSION}}/distribution/docker/docker-compose.yml) which can pull an image from Docker Hub and is suited to be used as an example environment and to experiment with Docker based Druid configuration and deployments.
### Compose file
The example `docker-compose.yml` will create a container for each Druid service, as well as Zookeeper and a PostgreSQL container as the metadata store. Deep storage will be a local directory, by default configured as `./storage` relative to your `docker-compose.yml` file, and will be mounted as `/opt/data` and shared between Druid containers which require access to deep storage. The Druid containers are configured via an [environment file](https://github.com/apache/druid/blob/master/distribution/docker/environment).
The example `docker-compose.yml` will create a container for each Druid service, as well as Zookeeper and a PostgreSQL container as the metadata store. Deep storage will be a local directory, by default configured as `./storage` relative to your `docker-compose.yml` file, and will be mounted as `/opt/data` and shared between Druid containers which require access to deep storage. The Druid containers are configured via an [environment file](https://github.com/apache/druid/blob/{{DRUIDVERSION}}/distribution/docker/environment).
### Configuration