add grafana and graphite to podman incubating
All checks were successful
Reese's Arch Toolbox / build-and-push-arch-toolbox (push) Successful in 44m47s
All checks were successful
Reese's Arch Toolbox / build-and-push-arch-toolbox (push) Successful in 44m47s
This commit is contained in:
10
podman/incubating/grafana/grafana.container
Normal file
10
podman/incubating/grafana/grafana.container
Normal file
@@ -0,0 +1,10 @@
|
||||
# grafana.container
|
||||
[Unit]
|
||||
Description=Grafana
|
||||
|
||||
[Container]
|
||||
ContainerName=grafana
|
||||
Image=grafana/grafana-enterprise
|
||||
Network=systemd-graphite
|
||||
PublishPort=3000:3000
|
||||
Volume=grafana-storage:/var/lib/grafana
|
||||
28
podman/incubating/grafana/grafana.md
Normal file
28
podman/incubating/grafana/grafana.md
Normal file
@@ -0,0 +1,28 @@
|
||||
# Grafana
|
||||
|
||||
## Install
|
||||
|
||||
<https://grafana.com/docs/grafana/latest/setup-grafana/installation/docker/>
|
||||
|
||||
Generate the quadlet:
|
||||
|
||||
```bash
|
||||
podman run ghcr.io/containers/podlet --description Grafana \
|
||||
podman run \
|
||||
-p 3000:3000 \
|
||||
--name=grafana \
|
||||
--volume grafana-storage:/var/lib/grafana \
|
||||
--network=systemd-graphite \
|
||||
grafana/grafana-enterprise > podman/incubating/grafana/grafana.container
|
||||
```
|
||||
|
||||
|
||||
Copy the graphite.container and graphite.network file to the server you want to run it on
|
||||
|
||||
```bash
|
||||
export PODMAN_SERVER=
|
||||
scp podman/incubating/grafana/grafana.container $PODMAN_SERVER:/etc/containers/systemd/
|
||||
|
||||
ssh $PODMAN_SERVER systemctl daemon-reload
|
||||
ssh $PODMAN_SERVER systemctl enable --now grafana.service
|
||||
```
|
||||
16
podman/incubating/graphite/graphite.container
Normal file
16
podman/incubating/graphite/graphite.container
Normal file
@@ -0,0 +1,16 @@
|
||||
# graphite.container
|
||||
[Unit]
|
||||
Description=Graphite
|
||||
|
||||
[Container]
|
||||
ContainerName=graphite
|
||||
Image=ghcr.io/deniszh/graphite-statsd
|
||||
Network=systemd-graphite
|
||||
PublishPort=127.0.0.1:8080:80
|
||||
PublishPort=2003-2004:2003-2004
|
||||
PublishPort=2023-2024:2023-2024
|
||||
PublishPort=8125:8125/udp
|
||||
PublishPort=8126:8126
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
36
podman/incubating/graphite/graphite.md
Normal file
36
podman/incubating/graphite/graphite.md
Normal file
@@ -0,0 +1,36 @@
|
||||
# Graphite
|
||||
|
||||
## Install
|
||||
|
||||
<https://graphite.readthedocs.io/en/latest/install.html#docker>
|
||||
|
||||
```bash
|
||||
# Generate the network
|
||||
podman run ghcr.io/containers/podlet --description Graphite \
|
||||
podman network create --ipv6 graphite > podman/incubating/graphite/graphite.network
|
||||
|
||||
# Generate the systemd container service
|
||||
podman run ghcr.io/containers/podlet --description Graphite \
|
||||
podman run \
|
||||
--name graphite \
|
||||
--restart=always \
|
||||
--network=systemd-graphite \
|
||||
-p 8080:80 \
|
||||
-p 2003-2004:2003-2004 \
|
||||
-p 2023-2024:2023-2024 \
|
||||
-p 8125:8125/udp \
|
||||
-p 8126:8126 \
|
||||
ghcr.io/deniszh/graphite-statsd > podman/incubating/graphite/graphite.container
|
||||
```
|
||||
|
||||
Copy the graphite.container and graphite.network file to the server you want to run it on
|
||||
|
||||
```bash
|
||||
export PODMAN_SERVER=
|
||||
scp podman/incubating/graphite/graphite.network $PODMAN_SERVER:/etc/containers/systemd/
|
||||
scp podman/incubating/graphite/graphite.container $PODMAN_SERVER:/etc/containers/systemd/
|
||||
|
||||
ssh $PODMAN_SERVER systemctl daemon-reload
|
||||
ssh $PODMAN_SERVER systemctl enable --now graphite.network
|
||||
ssh $PODMAN_SERVER systemctl enable --now graphite.service
|
||||
```
|
||||
6
podman/incubating/graphite/graphite.network
Normal file
6
podman/incubating/graphite/graphite.network
Normal file
@@ -0,0 +1,6 @@
|
||||
# graphite.network
|
||||
[Unit]
|
||||
Description=Graphite
|
||||
|
||||
[Network]
|
||||
IPv6=true
|
||||
Reference in New Issue
Block a user