mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
update graphite
This commit is contained in:
parent
e5121a0ed1
commit
3d4fc23dc7
@ -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
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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/*
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user