1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00

update graphite

This commit is contained in:
kev 2021-11-11 15:37:05 +08:00
parent e5121a0ed1
commit 3d4fc23dc7
5 changed files with 39 additions and 36 deletions

View File

@ -87,7 +87,6 @@ A collection of delicious docker recipes.
- [x] collectd
- [x] elastalert
- [x] glances
- [x] grafana
- [x] graphite
- [x] influxdb
- [x] logstash
@ -340,6 +339,7 @@ A collection of delicious docker recipes.
- [ ] python
- [x] gogs/gogs :cn:
- [x] gotify/server
- [x] grafana/grafana
- [x] haproxy
- [x] h2non/imaginary
- [x] jellyfin/jellyfin

View File

@ -1,8 +1,6 @@
grafana
=======
![](https://badge.imagelayers.io/vimagick/grafana:latest.svg)
[Grafana][1] is a leading open source application for visualizing large-scale
measurement data.

View File

@ -24,6 +24,7 @@ RUN set -xe \
python3 \
python3-dev \
&& curl -sSL https://bootstrap.pypa.io/get-pip.py | python3 \
&& pip3 install pip==20.1 \
&& pip3 install --no-cache-dir gunicorn supervisor \
&& pip3 install --no-cache-dir --install-option=--prefix=/opt/graphite \
--install-option=--install-lib=/opt/graphite/lib \
@ -44,7 +45,7 @@ RUN set -xe \
&& apk del build-base \
curl \
libffi-dev \
python-dev \
python3-dev \
&& rm -rf /root/.cache/pip \
/var/cache/apk/*

View File

@ -10,22 +10,24 @@ graphite
## docker-compose.yml
```yaml
graphite:
image: vimagick/graphite
ports:
- "2003:2003"
- "2003:2003/udp"
- "2004:2004"
- "2023:2023"
- "2024:2024"
- "7002:7002"
- "8080:8080"
- "9001:9001"
volumes:
- ./data/conf:/opt/graphite/conf
- ./data/storage:/opt/graphite/storage
- ./data/storage/log/webapp:/opt/graphite/storage/log/webapp
restart: unless-stopped
version: "3.8"
services:
graphite:
image: vimagick/graphite
ports:
- "2003:2003/udp"
- "2003:2003"
- "2004:2004"
- "2023:2023"
- "2024:2024"
- "7002:7002"
- "8080:8080"
- "9001:9001"
volumes:
- ./data/conf:/opt/graphite/conf
- ./data/storage:/opt/graphite/storage
- ./data/storage/log/webapp:/opt/graphite/storage/log/webapp
restart: unless-stopped
```
## Up and Running

View File

@ -1,16 +1,18 @@
graphite:
image: vimagick/graphite
ports:
- "2003:2003/udp"
- "2003:2003"
- "2004:2004"
- "2023:2023"
- "2024:2024"
- "7002:7002"
- "8080:8080"
- "9001:9001"
volumes:
- ./data/conf:/opt/graphite/conf
- ./data/storage:/opt/graphite/storage
- ./data/storage/log/webapp:/opt/graphite/storage/log/webapp
restart: unless-stopped
version: "3.8"
services:
graphite:
image: vimagick/graphite
ports:
- "2003:2003/udp"
- "2003:2003"
- "2004:2004"
- "2023:2023"
- "2024:2024"
- "7002:7002"
- "8080:8080"
- "9001:9001"
volumes:
- ./data/conf:/opt/graphite/conf
- ./data/storage:/opt/graphite/storage
- ./data/storage/log/webapp:/opt/graphite/storage/log/webapp
restart: unless-stopped