https://github.com/vimeo/graphite-api-influxdb-docker
docker image with graphite-api and graphite-influxdb
https://github.com/vimeo/graphite-api-influxdb-docker
Last synced: 9 months ago
JSON representation
docker image with graphite-api and graphite-influxdb
- Host: GitHub
- URL: https://github.com/vimeo/graphite-api-influxdb-docker
- Owner: vimeo
- License: apache-2.0
- Created: 2014-06-18T14:09:31.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-06-27T17:37:35.000Z (over 8 years ago)
- Last Synced: 2025-04-03T22:41:38.117Z (9 months ago)
- Language: Shell
- Homepage:
- Size: 16.6 KB
- Stars: 39
- Watchers: 7
- Forks: 14
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# graphite-api-influxdb-docker
builds the [vimeo/graphite-api-influxdb](https://registry.hub.docker.com/u/vimeo/graphite-api-influxdb/) docker image, with graphite-api and graphite-influxdb
using [baseimage-docker](http://phusion.github.io/baseimage-docker/)
which means you effectively get a full working linux system with an init system, logging,
etc. So you can login if anything goes wrong.
# building
* install docker on your system
* make a new directory and put your own Dockerfile in it, it looks like so:
```
FROM vimeo/graphite-api-influxdb
```
* put a customized graphite-api.yaml in this directory, you can base yourself off [the graphite-api.yaml in this repository](https://github.com/vimeo/graphite-api-influxdb-docker/blob/master/graphite-api.yaml)
* build!
```
docker build .
```
* run !
```
docker run -p 8000:8000
```
If you want, you can build with a name and run the container with this name:
```
docker build . -t
docker run -p 8000:8000
```
# logging in to the container
See [container admininstration](https://github.com/phusion/baseimage-docker/blob/master/README.md#container_administration)
# http 500 errors
on /render calls, you might get http 500 responses.
unfortunately we can't simply log yet what happend (i.e. which exception)
or display the errors in the http response.
see https://github.com/brutasse/graphite-api/issues/16
but you can make a free account on getsentry.com and use that, it works nicely.
You can also try this patch for graphite-api https://github.com/brutasse/graphite-api/pull/73#issuecomment-74080310
It works for some people (including yours truly)
# Gunicorn not starting?
This shouldn't happen to you as an end user,
but may happen if you're tweaking this image.
Try running in debug/standalone mode by running this script:
https://github.com/brutasse/graphite-api/blob/master/bin/graphite