Ian Wienand 93445ff303 graphite: copy storage-schemas from puppet-graphite
This is the storage-schemas configuration file currently deployed by
puppet-graphite.  Apply it to the container so we maintain the same
retention, etc.

Change-Id: Ia733bf4a958a559ce3921094bb3f0875365157ce
2020-09-29 14:52:01 +10:00

17 lines
616 B
Django/Jinja

# Version 2 is the latest that is supported by docker-compose in
# Ubuntu Xenial.
version: '2'
services:
graphite:
restart: always
image: docker.io/graphiteapp/graphite-statsd
network_mode: host
volumes:
- /etc/graphite-docker/graphite-statsd.conf:/etc/nginx/sites-enabled/graphite-statsd.conf
- /etc/graphite-docker/statsd.js:/opt/statsd/config/udp.js
- /etc/graphite-docker/storage-schemas.conf:/opt/graphite/conf/storage-schemas.conf
- /etc/letsencrypt-certs:/etc/letsencrypt-certs
- /opt/graphite/storage:/opt/graphite/storage
- /var/log/graphite:/var/log/