moving everything to active or retired vs incubating and graduated
All checks were successful
Reese's Arch Toolbox / build-and-push-arch-toolbox (push) Successful in 14s
All checks were successful
Reese's Arch Toolbox / build-and-push-arch-toolbox (push) Successful in 14s
This commit is contained in:
19
active/podman_graphite/graphite.container
Normal file
19
active/podman_graphite/graphite.container
Normal file
@@ -0,0 +1,19 @@
|
||||
# graphite.container
|
||||
[Unit]
|
||||
Description=Graphite
|
||||
|
||||
[Container]
|
||||
ContainerName=graphite
|
||||
Image=ghcr.io/deniszh/graphite-statsd
|
||||
Network=systemd-graphite
|
||||
PublishPort=8080:80
|
||||
PublishPort=2003-2004:2003-2004
|
||||
PublishPort=2023-2024:2023-2024
|
||||
PublishPort=8125:8125/udp
|
||||
PublishPort=8126:8126
|
||||
Volume=graphite_configs:/opt/graphite/conf
|
||||
Volume=graphite_data:/opt/graphite/storage
|
||||
Volume=graphite_statsd_config:/opt/statsd/config
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
39
active/podman_graphite/graphite.md
Normal file
39
active/podman_graphite/graphite.md
Normal file
@@ -0,0 +1,39 @@
|
||||
# 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 > active/podman_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 \
|
||||
-v graphite_configs:/opt/graphite/conf \
|
||||
-v graphite_data:/opt/graphite/storage \
|
||||
-v graphite_statsd_config:/opt/statsd/config \
|
||||
ghcr.io/deniszh/graphite-statsd > active/podman_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 active/podman_graphite/graphite.network $PODMAN_SERVER:/etc/containers/systemd/
|
||||
scp active/podman_graphite/graphite.container $PODMAN_SERVER:/etc/containers/systemd/
|
||||
|
||||
ssh $PODMAN_SERVER systemctl daemon-reload
|
||||
ssh $PODMAN_SERVER systemctl start graphite.network
|
||||
ssh $PODMAN_SERVER systemctl start graphite.service
|
||||
```
|
||||
6
active/podman_graphite/graphite.network
Normal file
6
active/podman_graphite/graphite.network
Normal file
@@ -0,0 +1,6 @@
|
||||
# graphite.network
|
||||
[Unit]
|
||||
Description=Graphite
|
||||
|
||||
[Network]
|
||||
IPv6=true
|
||||
Reference in New Issue
Block a user