# Graphite ## Install ```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 ```