diff options
author | Mark Beierl <mark.beierl@dell.com> | 2017-08-23 16:54:40 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-08-23 16:54:40 +0000 |
commit | b6abf16908da2c30878f0a0de0e3ef198b8f712f (patch) | |
tree | b9ea14463956b39b3a2e5110e0b5a88ac435ade4 /docker/storperf-graphite/etc/supervisor.d | |
parent | 6ca2c9387c41a5980af0f0d5aa1d24cd6c7fa94d (diff) | |
parent | fc7ec1c0c73d2ecc52035634c8dd0ae6647273b1 (diff) |
Merge "Graphite Standalone container"
Diffstat (limited to 'docker/storperf-graphite/etc/supervisor.d')
-rw-r--r-- | docker/storperf-graphite/etc/supervisor.d/carbon.ini | 11 | ||||
-rw-r--r-- | docker/storperf-graphite/etc/supervisor.d/gunicorn.ini | 13 | ||||
-rw-r--r-- | docker/storperf-graphite/etc/supervisor.d/nginx.ini | 11 |
3 files changed, 35 insertions, 0 deletions
diff --git a/docker/storperf-graphite/etc/supervisor.d/carbon.ini b/docker/storperf-graphite/etc/supervisor.d/carbon.ini new file mode 100644 index 0000000..fb93a95 --- /dev/null +++ b/docker/storperf-graphite/etc/supervisor.d/carbon.ini @@ -0,0 +1,11 @@ +[program:carbon-cache] +autostart = true +autorestart = true +stdout_events_enabled = true +stderr_events_enabled = true +stdout_logfile_maxbytes = 1MB +stdout_logfile_backups = 0 +stderr_logfile_maxbytes = 1MB +stderr_logfile_backups = 0 + +command = /opt/graphite/bin/carbon-cache.py --pidfile /var/run/carbon-cache-a.pid --debug start diff --git a/docker/storperf-graphite/etc/supervisor.d/gunicorn.ini b/docker/storperf-graphite/etc/supervisor.d/gunicorn.ini new file mode 100644 index 0000000..7a94ac8 --- /dev/null +++ b/docker/storperf-graphite/etc/supervisor.d/gunicorn.ini @@ -0,0 +1,13 @@ +[program:graphite-webapp] +autostart = true +autorestart = true +stdout_events_enabled = true +stderr_events_enabled = true +stdout_logfile_maxbytes = 1MB +stdout_logfile_backups = 0 +stderr_logfile_maxbytes = 1MB +stderr_logfile_backups = 0 + +directory = /opt/graphite/webapp +environment = PYTHONPATH='/opt/graphite/webapp' +command = /usr/bin/gunicorn -b127.0.0.1:8000 -w2 graphite.wsgi diff --git a/docker/storperf-graphite/etc/supervisor.d/nginx.ini b/docker/storperf-graphite/etc/supervisor.d/nginx.ini new file mode 100644 index 0000000..be2615c --- /dev/null +++ b/docker/storperf-graphite/etc/supervisor.d/nginx.ini @@ -0,0 +1,11 @@ +[program:nginx] +autostart = true +autorestart = true +stdout_events_enabled = true +stderr_events_enabled = true +stdout_logfile_maxbytes = 1MB +stdout_logfile_backups = 0 +stderr_logfile_maxbytes = 1MB +stderr_logfile_backups = 0 + +command = /usr/sbin/nginx -c /etc/nginx/nginx.conf |