-
|
Hi. I'm new to streammaster. Currently setting it up via Docker Compose. Asking for some clarity on the POSTGRES_HOST variable. It's default is the loopback address: 127.0.0.1. Should I change this to my server hosting streammaster or is the loopback address sufficient as is? Also can I put the hostname or does it have to be an IP address (hostname is preferable since I have multiple IP addresses for the same host). Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Hey, and welcome 👋 I'm not entirely sure what you're trying to achieve with changing I am guessing the Docker Compose you're using is the one on https://carlreid.github.io/StreamMaster/GettingStarted/? I would assume the intent that those environment variables are there, is to showcase that it is possible to change them. Though the example on the README should be all that is needed to use StreamMaster. Essentially you most likely should leave it untouched, and StreamMaster will create and run its own instance of Postgres. You'd likely only want to set |
Beta Was this translation helpful? Give feedback.
-
|
Thanks @carlreid. You answered my question - I just wasn't sure the purpose of having the loopback address as host for postgres, but now I understand. Sounds like leaving it as is should be the way to go. Thank you! |
Beta Was this translation helpful? Give feedback.
Hey, and welcome 👋 I'm not entirely sure what you're trying to achieve with changing
POSTGRES_HOST, could you maybe clarify that some more?I am guessing the Docker Compose you're using is the one on https://carlreid.github.io/StreamMaster/GettingStarted/? I would assume the intent that those environment variables are there, is to showcase that it is possible to change them. Though the example on the README should be all that is needed to use StreamMaster.
Essentially you most likely should leave it untouched, and StreamMaster will create and run its own instance of Postgres. You'd likely only want to set
POSTGRES_HOST(among the other values) if you want to run a Postgres instance yourse…