Skip to content

Conversation

@fanpero87
Copy link

Hello,
I made a docker-compose file as a way to deploy graphite using tools like portainer.
You would just need to create a "stack", set a name and copy/paste the code.

version: "3"

services:
  graphite:
   image: 'graphiteapp/graphite-statsd'
   container_name: 'graphite'
   restart: unless-stopped
   volumes:
    - /home/${USER}/graphite/conf:/opt/graphite/conf
    - /home/${USER}/graphite/data:/opt/graphite/storage
    - /home/${USER}/graphite/statsd_config:/opt/statsd/config
   ports:
    - "8181:80"
    - "2003-2004:2003-2004"
    - "2023-2024:2023-2024"
    - "8125:8125/udp"
    - "8126:8126"

# in case you want to deploy this on an existing network
#networks:
#  default:
#    external:
#      name: nginx-proxy-manager_default

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant