https://github.com/webinterpret/monitoring
https://github.com/webinterpret/monitoring
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/webinterpret/monitoring
- Owner: Webinterpret
- License: apache-2.0
- Created: 2018-06-08T13:40:27.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-08T13:44:39.000Z (about 8 years ago)
- Last Synced: 2025-02-21T14:45:26.955Z (over 1 year ago)
- Language: Shell
- Size: 48.8 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
monitoring
=======================
This image contains a sensible default configuration of InfluxDB, Chronograf and Grafana. It explicitly doesn't bundle an example dashboard.
### Using the Dashboard ###
Once your container is running all you need to do is open your browser pointing to the host/port you just published and play with the dashboard at your wish. We hope that you have a lot of fun with this image and that it serves it's purpose of making your life easier.
### Building the image yourself ###
The Dockerfile and supporting configuration files are available in this Github repository. This comes specially handy if you want to change any of the InfluxDB or Grafana settings, or simply if you want to know how the image was built.
The repo also has `build`, `start` and `stop` scripts to make your workflow more pleasant.
### Configuring the settings ###
The container exposes the following ports by default:
- `80`: Grafana web interface.
- `8888`: Chronograf web interface.
- `8084`: InfluxDB HTTPS API (not usable by default).
- `8086`: InfluxDB HTTP API.
To start a container with your custom config: see `start` script.
To change ports, consider the following:
- `80`: edit `Dockerfile, ngingx/nginx.conf and start script`.
- `8888`: edit: `Dockerfile`.
- `8084`: edit: to be announced.
- `8086`: edit: `Dockerfile, influxDB/config.toml, grafana/config.ini, set_influxdb.sh and start script`.
### Running container ###
To run container simply type:
```bash
docker run -d -p 80:80 -p 8888:8888 -p 8084:8084 -p 8086:8086 --name monitoring wisas/monitoring
```
InfluxDB is configured by default with two databases. `grafana` DB for storing your Dashboard and `data` DB for storing your measurements. You can edit all default passwords in `Dockerfile`. If you wanna edit DB names, users and passwords, have a look at the following files: `grafana/config.ini, set_grafana.sh, set_influxdb.sh and Dockerfile`
HTTPS API wasn't tested yet, that's why it isn't configured. Some boilerplate code can be found in `Dockerfile and set_influxdb.sh`. Needs testing and possibly more.