R
Railway•11mo ago
Baldbytes

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•11mo ago
Project ID: ce392965-b44b-4e2b-84ec-6cc17305fc2c
Baldbytes
Baldbytes•11mo ago
ce392965-b44b-4e2b-84ec-6cc17305fc2c
Solution
ThallesComH
ThallesComH•11mo 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
Baldbytes
Baldbytes•11mo ago
i have to change for this the config inside the docker image right?
ThallesComH
ThallesComH•11mo ago
no, in the Railway's dashboard Railway will take the PORT variable and will redirect your domain traffic to that port
Baldbytes
Baldbytes•11mo ago
okay, gimme a sec, will try that with the variables Worked poggers
Baldbytes
Baldbytes•11mo 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•11mo ago
you mean the volume?
Baldbytes
Baldbytes•11mo ago
the project at least what i can read in the docs, volumes are listed seperatly
ThallesComH
ThallesComH•11mo ago
can you send me the link to that?
Baldbytes
Baldbytes•11mo ago
the link to what exactly?
ThallesComH
ThallesComH•11mo ago
the docs part that you're seeing, kinda lost if you're referring to a file or docker command
Baldbytes
Baldbytes•11mo 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•11mo 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
Baldbytes
Baldbytes•11mo ago
sad
ThallesComH
ThallesComH•11mo 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...
Baldbytes
Baldbytes•11mo 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•11mo ago
yeah would be the best option without dealing with configuration files. would also be a cool template for someone to make 👀
Brody
Brody•11mo ago
it requires like 20 volumes??
Baldbytes
Baldbytes•11mo ago
wdym?
Brody
Brody•11mo ago
No description
Baldbytes
Baldbytes•11mo 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•11mo ago
gotcha
Baldbytes
Baldbytes•11mo 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•11mo ago
cant github itself do that?
Baldbytes
Baldbytes•11mo ago
wait, can github display redis? 😄 let me search for that
Brody
Brody•11mo ago
why would github need to display redis?
Baldbytes
Baldbytes•11mo ago
github doesnt need to display it, but i need something in general to keep track about my servers, repos and redis.
Brody
Brody•11mo ago
no clue, sorry
Want results from more Discord servers?
Add your server