Run update.sh
This commit is contained in:
parent
de77016a66
commit
9fa7295f5a
|
|
@ -30,20 +30,21 @@ You can also use a custom configuration file or environment variables to modify
|
||||||
A sample configuration file can be obtained by:
|
A sample configuration file can be obtained by:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ docker run --rm chronograf -sample-config > chronograf.toml
|
$ docker run --rm chronograf -sample-config > chronograf.conf
|
||||||
```
|
```
|
||||||
|
|
||||||
Once you've customized `chronograf.conf`, you can run the Chronograf container with it mounted in the expected location (note the name change!):
|
Once you've customized `chronograf.conf`, you can run the Chronograf container with it mounted in the expected location (note the name change!):
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ docker run -d \
|
$ docker run -p 10000:10000 \
|
||||||
-p 10000:10000 \
|
-v $PWD/chronograf.conf:/etc/chronograf/chronograf.conf:ro
|
||||||
-v /path/to/chronograf.toml:/opt/chronograf/config.toml
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Modify `$PWD` to the directory where you want to store the configuration file.
|
||||||
|
|
||||||
### Using environment variables (preferred)
|
### Using environment variables (preferred)
|
||||||
|
|
||||||
You may have noticed that the default `Bind` value in the configuration is set to `127.0.0.1:10000`, though the container will listen on `0.0.0.0:10000` instead. This is due to a `CHRONOGRAF_BIND` environment variable being set in the Dockerfile to provide a sensible default within the Docker context. Other environment variables can override configuration settings following the `CamelCase` to `CHRONOGRAF_CAMEL_CASE` pattern:
|
You may have noticed that the default `Bind` value in the configuration is set to `127.0.0.1:10000`, though the container will listen on `0.0.0.0:10000` instead. This is due to a default configuration file being provided inside of the image. You can override values inside of the configuration file using environment variables following the `CamelCase` to `CHRONOGRAF_CAMEL_CASE` pattern:
|
||||||
|
|
||||||
| SETTING | ENV VAR |
|
| SETTING | ENV VAR |
|
||||||
|-------------------------|---------------------------------------|
|
|-------------------------|---------------------------------------|
|
||||||
|
|
|
||||||
|
|
@ -24,9 +24,9 @@ InfluxDB is a time series database built from the ground up to handle high write
|
||||||
The InfluxDB image exposes a shared volume under `/var/lib/influxdb`, so you can mount a host directory to that point to access persisted container data. A typical invocation of the container might be:
|
The InfluxDB image exposes a shared volume under `/var/lib/influxdb`, so you can mount a host directory to that point to access persisted container data. A typical invocation of the container might be:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
docker run -p 8083:8083 -p 8086:8086 \
|
$ docker run -p 8083:8083 -p 8086:8086 \
|
||||||
-v $PWD:/var/lib/influxdb \
|
-v $PWD:/var/lib/influxdb \
|
||||||
influxdb
|
influxdb
|
||||||
```
|
```
|
||||||
|
|
||||||
Modify `$PWD` to the directory where you want to store data associated with the InfluxDB container.
|
Modify `$PWD` to the directory where you want to store data associated with the InfluxDB container.
|
||||||
|
|
@ -34,9 +34,9 @@ Modify `$PWD` to the directory where you want to store data associated with the
|
||||||
You can also have Docker control the volume mountpoint by using a named volume.
|
You can also have Docker control the volume mountpoint by using a named volume.
|
||||||
|
|
||||||
```console
|
```console
|
||||||
docker run -p 8083:8083 -p 8086:8086 \
|
$ docker run -p 8083:8083 -p 8086:8086 \
|
||||||
-v influxdb:/var/lib/influxdb \
|
-v influxdb:/var/lib/influxdb \
|
||||||
influxdb
|
influxdb
|
||||||
```
|
```
|
||||||
|
|
||||||
### Exposed Ports
|
### Exposed Ports
|
||||||
|
|
@ -49,7 +49,6 @@ The following ports are important and will be automatically exposed when using `
|
||||||
Other important ports that aren't exposed by default:
|
Other important ports that aren't exposed by default:
|
||||||
|
|
||||||
- 8091 Meta service port
|
- 8091 Meta service port
|
||||||
- 8088 Clustering (raft) port
|
|
||||||
|
|
||||||
These two ports do not need to be exposed in a single server configuration.
|
These two ports do not need to be exposed in a single server configuration.
|
||||||
|
|
||||||
|
|
@ -69,7 +68,7 @@ Modify the default configuration, which will now be available under `$PWD`. Then
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ docker run -p 8083:8083 -p 8086:8086 \
|
$ docker run -p 8083:8083 -p 8086:8086 \
|
||||||
-v $PWD:/etc/influxdb:ro \
|
-v $PWD/influxdb.conf:/etc/influxdb/influxdb.conf:ro \
|
||||||
influxdb -config /etc/influxdb/influxdb.conf
|
influxdb -config /etc/influxdb/influxdb.conf
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -89,7 +88,15 @@ Find more about configuring InfluxDB [here](https://docs.influxdata.com/influxdb
|
||||||
|
|
||||||
### Graphite
|
### Graphite
|
||||||
|
|
||||||
InfluxDB supports the Graphite line protocol, but the service and ports are not exposed by default. To run InfluxDB with Graphite support enabled, you can either use a configuration file or set the appropriate environment variables.
|
InfluxDB supports the Graphite line protocol, but the service and ports are not exposed by default. To run InfluxDB with Graphite support enabled, you can either use a configuration file or set the appropriate environment variables. Run InfluxDB with the default Graphite configuration:
|
||||||
|
|
||||||
|
```console
|
||||||
|
docker run -p 8083:8083 -p 8086:8086 \
|
||||||
|
-e INFLUXDB_GRAPHITE_ENABLED=true \
|
||||||
|
influxdb
|
||||||
|
```
|
||||||
|
|
||||||
|
See the [README on GitHub](https://github.com/influxdata/influxdb/blob/master/services/graphite/README.md) for more detailed documentation to set up the Graphite service. In order to take advantage of graphite templates, you should use a configuration file by outputting a default configuration file using the steps above and modifying the `[[graphite]]` section.
|
||||||
|
|
||||||
### HTTP API
|
### HTTP API
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ Modify `$PWD` to the directory where you want to store data associated with the
|
||||||
You can also have Docker control the volume mountpoint by using a named volume.
|
You can also have Docker control the volume mountpoint by using a named volume.
|
||||||
|
|
||||||
```console
|
```console
|
||||||
# docker run -p 9092:9092 \
|
$ docker run -p 9092:9092 \
|
||||||
-v kapacitor:/var/lib/kapacitor \
|
-v kapacitor:/var/lib/kapacitor \
|
||||||
kapacitor
|
kapacitor
|
||||||
```
|
```
|
||||||
|
|
@ -59,8 +59,8 @@ Modify the default configuration, which will now be available under `$PWD`. Then
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ docker run -p 9092:9092 \
|
$ docker run -p 9092:9092 \
|
||||||
-v $PWD:/etc/kapacitor:ro \
|
-v $PWD/kapacitor.conf:/etc/kapacitor/kapacitor.conf:ro \
|
||||||
kapacitord -config /etc/kapacitor/kapacitor.conf
|
kapacitord
|
||||||
```
|
```
|
||||||
|
|
||||||
Modify `$PWD` to the directory where you want to store the configuration file.
|
Modify `$PWD` to the directory where you want to store the configuration file.
|
||||||
|
|
|
||||||
|
|
@ -52,9 +52,11 @@ $ docker run --rm telegraf -sample-config > telegraf.conf
|
||||||
Once you've customized `telegraf.conf`, you can run the Telegraf container with it mounted in the expected location:
|
Once you've customized `telegraf.conf`, you can run the Telegraf container with it mounted in the expected location:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ docker run -v /path/to/telegraf.conf:/etc/telegraf/telegraf.conf:ro telegraf
|
$ docker run -v $PWD/telegraf.conf:/etc/telegraf/telegraf.conf:ro telegraf
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Modify `$PWD` to the directory where you want to store the configuration file.
|
||||||
|
|
||||||
Read more about the Telegraf configuration [here](https://docs.influxdata.com/telegraf/latest/introduction/configuration/).
|
Read more about the Telegraf configuration [here](https://docs.influxdata.com/telegraf/latest/introduction/configuration/).
|
||||||
|
|
||||||
### Using the container with input plugins
|
### Using the container with input plugins
|
||||||
|
|
@ -62,15 +64,14 @@ Read more about the Telegraf configuration [here](https://docs.influxdata.com/te
|
||||||
These examples assume you are using a custom configuration file that takes advantage of Docker's built-in service discovery capability. In order to do so, we'll first create a new network:
|
These examples assume you are using a custom configuration file that takes advantage of Docker's built-in service discovery capability. In order to do so, we'll first create a new network:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ docker network create telegraf_nw
|
$ docker network create influxdb
|
||||||
```
|
```
|
||||||
|
|
||||||
Next, we'll start our InfluxDB container named `influxdb`:
|
Next, we'll start our InfluxDB container named `influxdb`:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ docker run -d --name influxdb \
|
$ docker run -d --name=influxdb \
|
||||||
--net=telegraf_nw \
|
--net=influxdb \
|
||||||
-p 8083:8083 -p 8086:8086 \
|
|
||||||
influxdb
|
influxdb
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -84,11 +85,10 @@ The `telegraf.conf` configuration can now resolve the `influxdb` container by na
|
||||||
Finally, we start our Telegraf container and verify functionality:
|
Finally, we start our Telegraf container and verify functionality:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ docker run -d --name telegraf \
|
$ docker run -d --name=telegraf \
|
||||||
--net=telegraf_nw \
|
--net=influxdb \
|
||||||
-v /path/to/telegraf.conf:/etc/telegraf/telegraf.conf:ro \
|
-v $PWD/telegraf.conf:/etc/telegraf/telegraf.conf:ro \
|
||||||
telegraf
|
telegraf
|
||||||
...
|
|
||||||
$ docker logs -f telegraf
|
$ docker logs -f telegraf
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -98,7 +98,7 @@ Start an instance of aerospike:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ docker run -d --name aerospike \
|
$ docker run -d --name aerospike \
|
||||||
--net=telegraf_nw \
|
--net=influxdb \
|
||||||
-p 3000-3003:3000-3003 \
|
-p 3000-3003:3000-3003 \
|
||||||
aerospike
|
aerospike
|
||||||
```
|
```
|
||||||
|
|
@ -134,9 +134,9 @@ Start an Nginx container utilizing it:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ docker run -d --name=nginx \
|
$ docker run -d --name=nginx \
|
||||||
--net=telegraf_nw \
|
--net=influxdb \
|
||||||
-p 8090:8090 -p 8080:80 \
|
-p 8090:8090 -p 8080:80 \
|
||||||
-v /path/to/nginx_status.conf:/etc/nginx/conf.d/nginx_status.conf:ro \
|
-v $PWD/nginx_status.conf:/etc/nginx/conf.d/nginx_status.conf:ro \
|
||||||
nginx
|
nginx
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -162,10 +162,10 @@ Telegraf has a StatsD plugin, allowing Telegraf to run as a StatsD server that m
|
||||||
Run Telegraf with the UDP port 8125 exposed:
|
Run Telegraf with the UDP port 8125 exposed:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ docker run -d --name telegraf \
|
$ docker run -d --name=telegraf \
|
||||||
--net=telegraf_nw \
|
--net=influxdb \
|
||||||
-p 8125:8125/udp \
|
-p 8125:8125/udp \
|
||||||
-v /path/to/telegraf.conf:/etc/telegraf/telegraf.conf:ro \
|
-v $PWD/telegraf.conf:/etc/telegraf/telegraf.conf:ro \
|
||||||
telegraf
|
telegraf
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
# Supported tags and respective `Dockerfile` links
|
# Supported tags and respective `Dockerfile` links
|
||||||
|
|
||||||
- [`kernel`, `8.5.5.9-kernel` (*websphere-liberty/8.5.5/developer/kernel/Dockerfile*)](https://github.com/WASdev/ci.docker/blob/1e57ee36ffb385a11fef647059c2cbb870f0aa26/websphere-liberty/8.5.5/developer/kernel/Dockerfile)
|
- [`kernel`, `8.5.5.9-kernel` (*websphere-liberty/8.5.5/developer/kernel/Dockerfile*)](https://github.com/WASdev/ci.docker/blob/074289767a4d5d51d8d5c0cdb4d140489b605282/websphere-liberty/8.5.5/developer/kernel/Dockerfile)
|
||||||
- [`common`, `8.5.5.9-common` (*websphere-liberty/8.5.5/developer/common/Dockerfile*)](https://github.com/WASdev/ci.docker/blob/1e57ee36ffb385a11fef647059c2cbb870f0aa26/websphere-liberty/8.5.5/developer/common/Dockerfile)
|
- [`common`, `8.5.5.9-common` (*websphere-liberty/8.5.5/developer/common/Dockerfile*)](https://github.com/WASdev/ci.docker/blob/074289767a4d5d51d8d5c0cdb4d140489b605282/websphere-liberty/8.5.5/developer/common/Dockerfile)
|
||||||
- [`webProfile6`, `8.5.5.9-webProfile6` (*websphere-liberty/8.5.5/developer/webProfile6/Dockerfile*)](https://github.com/WASdev/ci.docker/blob/1e57ee36ffb385a11fef647059c2cbb870f0aa26/websphere-liberty/8.5.5/developer/webProfile6/Dockerfile)
|
- [`webProfile6`, `8.5.5.9-webProfile6` (*websphere-liberty/8.5.5/developer/webProfile6/Dockerfile*)](https://github.com/WASdev/ci.docker/blob/074289767a4d5d51d8d5c0cdb4d140489b605282/websphere-liberty/8.5.5/developer/webProfile6/Dockerfile)
|
||||||
- [`webProfile7`, `8.5.5.9-webProfile7` (*websphere-liberty/8.5.5/developer/webProfile7/Dockerfile*)](https://github.com/WASdev/ci.docker/blob/1e57ee36ffb385a11fef647059c2cbb870f0aa26/websphere-liberty/8.5.5/developer/webProfile7/Dockerfile)
|
- [`webProfile7`, `8.5.5.9-webProfile7` (*websphere-liberty/8.5.5/developer/webProfile7/Dockerfile*)](https://github.com/WASdev/ci.docker/blob/074289767a4d5d51d8d5c0cdb4d140489b605282/websphere-liberty/8.5.5/developer/webProfile7/Dockerfile)
|
||||||
- [`javaee7`, `8.5.5.9-javaee7`, `8.5.5.9`, `8.5.5`, `latest` (*websphere-liberty/8.5.5/developer/javaee7/Dockerfile*)](https://github.com/WASdev/ci.docker/blob/1e57ee36ffb385a11fef647059c2cbb870f0aa26/websphere-liberty/8.5.5/developer/javaee7/Dockerfile)
|
- [`javaee7`, `8.5.5.9-javaee7`, `8.5.5.9`, `8.5.5`, `latest` (*websphere-liberty/8.5.5/developer/javaee7/Dockerfile*)](https://github.com/WASdev/ci.docker/blob/074289767a4d5d51d8d5c0cdb4d140489b605282/websphere-liberty/8.5.5/developer/javaee7/Dockerfile)
|
||||||
- [`beta` (*websphere-liberty/beta/Dockerfile*)](https://github.com/WASdev/ci.docker/blob/0cc14330880a28ed563d957360627dc198655c70/websphere-liberty/beta/Dockerfile)
|
- [`beta` (*websphere-liberty/beta/Dockerfile*)](https://github.com/WASdev/ci.docker/blob/074289767a4d5d51d8d5c0cdb4d140489b605282/websphere-liberty/beta/Dockerfile)
|
||||||
|
|
||||||
[](https://imagelayers.io/?images=websphere-liberty:kernel,websphere-liberty:common,websphere-liberty:webProfile6,websphere-liberty:webProfile7,websphere-liberty:javaee7,websphere-liberty:beta)
|
[](https://imagelayers.io/?images=websphere-liberty:kernel,websphere-liberty:common,websphere-liberty:webProfile6,websphere-liberty:webProfile7,websphere-liberty:javaee7,websphere-liberty:beta)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue