Replies: 1 comment 3 replies
-
APP_KEY should be the same on all nodes of a cluster. APP_KEY is accepted from the environment, so you can override whatever is in .env by passing it through docker. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there!
I want to run librenms/redis/mariadb on a single host without any dispatcher/poller then use as many other physical machines for that job. That way i can keep the GUI/databases apart for their purposes and scale on pollers as needed.
Pollers seem to need the APP_KEY from the main instance to be able to talk the database and that variable needs to be in a /data/.env file in the poller, but there is no helper or automated way in the init scripts to create that file with these contents. I'm actually creating and mounting the .env file with the APP_KEY on every remote poller.
Is this approach correct or do i need a full fledged librenms docker service running alongside every distributed poller sharing the /data filesystem?
if I run multiple dispatcher/pollers on a single machine can they share the /data volume?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions