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