R
Railway•6mo ago
Muffin

NETDATA Install

Hey, can me someone guide how to setup NETDATA on Railway? https://learn.netdata.cloud/docs/installing/docker I just installed the Docker Image: https://hub.docker.com/r/netdata/netdata/#! Thought this is enough, but if i want to access the NETDATA Dashboard i get the message "Application failed to respond". Pretty sure my config isnt right.
Install Netdata with Docker | Learn Netdata
Create a new Netdata Agent container
Solution:
try to apply the solutions from here: https://docs.railway.app/guides/fixing-common-errors my guess is that netdata is not listening on Railway's port, try to add the PORT variable with the value 19999 (netdata's dashboard ort)...
Railway Docs
Fixing Common Errors | Railway Docs
Documentation for Railway
Jump to solution
30 Replies
Percy
Percy•6mo ago
Project ID: ce392965-b44b-4e2b-84ec-6cc17305fc2c
Muffin
Muffin•6mo ago
ce392965-b44b-4e2b-84ec-6cc17305fc2c
Solution
ThallesComH
ThallesComH•6mo ago
try to apply the solutions from here: https://docs.railway.app/guides/fixing-common-errors my guess is that netdata is not listening on Railway's port, try to add the PORT variable with the value 19999 (netdata's dashboard ort)
Railway Docs
Fixing Common Errors | Railway Docs
Documentation for Railway
Muffin
Muffin•6mo ago
i have to change for this the config inside the docker image right?
ThallesComH
ThallesComH•6mo ago
no, in the Railway's dashboard Railway will take the PORT variable and will redirect your domain traffic to that port
Muffin
Muffin•6mo ago
okay, gimme a sec, will try that with the variables Worked poggers
Muffin
Muffin•6mo ago
@ThallesComH one more question, can i somehow access the file in this docker deployment? i need a random key that was generated from the docker image
ThallesComH
ThallesComH•6mo ago
you mean the volume?
Muffin
Muffin•6mo ago
the project at least what i can read in the docs, volumes are listed seperatly
ThallesComH
ThallesComH•6mo ago
can you send me the link to that?
Muffin
Muffin•6mo ago
the link to what exactly?
ThallesComH
ThallesComH•6mo ago
the docs part that you're seeing, kinda lost if you're referring to a file or docker command
Muffin
Muffin•6mo ago
reading that doc basicly i have to execute this command in my "hosting" of NETDATA: "sudo cat /var/lib/netdata/netdata_random_session_id" to gain access to the admin settings and also to add another pkugins in the future i need access to the config files 😄
ThallesComH
ThallesComH•6mo ago
ah ok so you need to access a local file, you would need a volume (https://docs.railway.app/guides/volumes) to save the data. you could probably add a shell script which runs the command or you could use a volume explorer to do that manually. with this problem, you can create a Dockerfile where it modifies the config files on build, just be aware that build doesn't have access to volumes
Muffin
Muffin•6mo ago
sad
ThallesComH
ThallesComH•6mo ago
FROM netdata/netdata

COPY ./local-file-with-changes ./var/lib/<config_location_on_container
FROM netdata/netdata

COPY ./local-file-with-changes ./var/lib/<config_location_on_container
yeah definitely not a easy task...
Muffin
Muffin•6mo ago
well then i will switch to a cloud solultion thats the headspace not worth they take like 3$ a month for each user
ThallesComH
ThallesComH•6mo ago
yeah would be the best option without dealing with configuration files. would also be a cool template for someone to make 👀
Brody
Brody•6mo ago
it requires like 20 volumes??
Muffin
Muffin•6mo ago
wdym?
Brody
Brody•6mo ago
No description
Muffin
Muffin•6mo ago
ah yeah, its pretty bloated, they support like 800 integrations out of the box. But to set it up, its just pain. Each tiny little integration. only for the github integration i would need to create an extra app in github, bot etc... not worth it.
Brody
Brody•6mo ago
gotcha
Muffin
Muffin•6mo ago
but! brody, do you know any devops software that can display my github repos, and keep track about pushes etc and also have a integration so watch a redis and the processes of it? best case would be, easy to setup and maintain. and with a login, so not everybody with the domain can dive into it
Brody
Brody•6mo ago
cant github itself do that?
Muffin
Muffin•6mo ago
wait, can github display redis? 😄 let me search for that
Brody
Brody•6mo ago
why would github need to display redis?
Muffin
Muffin•6mo ago
github doesnt need to display it, but i need something in general to keep track about my servers, repos and redis.
Brody
Brody•6mo ago
no clue, sorry