Simple graphite container with nginx based on alpine
Components included:
All variables are optional.
PUID ... The user ID to run the processes underPGID ... The group ID to run the processes underTZ ... Timezone for the container (e.g. Europe/Vienna)Django backend options:
SECRET_KEY ... Secret key used by Django (default 64 character random string based on the date)GRAPHITE_ALLOWED_HOSTS ... Hosts allowed to connect to Django backend (default '*')GRAPHITE_DATE_FORMAT ... Short date format (default '%m/%d')GRAPHITE_LOG_FILE_INFOGRAPHITE_LOG_FILE_EXCEPTIONGRAPHITE_LOG_FILE_CACHEGRAPHITE_LOG_FILE_RENDERING ... Log file destinations (default '-' which means logging to stdout)GRAPHITE_USE_WORKER_POOL ... Creates a pool of worker threads to which tasks can be dispatched. (deafault true)GRAPHITE_POOL_WORKERS_PER_BACKEND ... The number of worker threads that should be created per backend server. (default 8)GRAPHITE_POOL_WORKERS ... A baseline number of workers that should always be created (default 1)Exported volumes:
/opt/graphite/storage ... Carbon database storageExposed ports:
80 ... The web interface for Graphite2003 ... Carbon plaintext protocol2004 ... Carbon pickle protocolversion: "2.4"
networks:
my_network:
driver: bridge
services:
graphite:
image: egoaty/graphite
environment:
- PUID=1234
- PUID=1234
- TZ='Europe/Vienna'
networks:
my_network:
aliases:
- graphite
ports:
- 80:80
- 2003:2003
- 2004:2004
volumes:
- ./graphite/storage:/opt/graphite/storage
restart: unless-stopped
Content type
Image
Digest
sha256:ba56c02b3…
Size
242.1 MB
Last updated
over 2 years ago
docker pull egoaty/graphite