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:Jump to 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)...30 Replies
Project ID:
ce392965-b44b-4e2b-84ec-6cc17305fc2c
ce392965-b44b-4e2b-84ec-6cc17305fc2c
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)i have to change for this the config inside the docker image right?
no, in the Railway's dashboard
Railway will take the
PORT
variable and will redirect your domain traffic to that portokay, gimme a sec, will try that with the variables
Worked
@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
you mean the volume?
the project
at least what i can read in the docs, volumes are listed seperatly
can you send me the link to that?
the link to what exactly?
the docs part that you're seeing, kinda lost if you're referring to a file or docker command
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 😄
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
sad
yeah definitely not a easy task...
well then i will switch to a cloud solultion
thats the headspace not worth
they take like 3$ a month for each user
yeah would be the best option without dealing with configuration files.
would also be a cool template for someone to make 👀
it requires like 20 volumes??
wdym?
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.
gotcha
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
cant github itself do that?
wait, can github display redis? 😄
let me search for that
why would github need to display redis?
github doesnt need to display it, but i need something in general to keep track about my servers, repos and redis.
no clue, sorry