You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry if this is already answered, but I can't seem to find it anywhere. Is there anyway to configure a list of services, to stop you having to setup servers on every "installation" of the web app?
If not, what would you suggest is the best approach to pre-load a server or list of servers?
The text was updated successfully, but these errors were encountered:
Yes, more or less.... if we wanted to have it preloaded without exporting and importing, we basically just need to fork this and do that ourselves. For instance, it might be nice to be able to pass the server info via env vars or some config file so your users don't need to enter anything. I realise that's not the intention of this app, it's meant to be quite generic.
Hey @jasoniangreen I more or less have an approach that could work, but since the code is statically compiled, I couldn't find a non-hacky way to dynamically load env vars.
Because of this, the approach is based on volumes instead. You would need to mount a volume containing the list of servers (basically a static JSON file).
Then the app tries to load it via HTTP when no servers are found in the local storage (which is usually the first time you run the app in a browser). If it gets a 404, then it just keeps behaving as it is now, and otherwise, it parses the file and uses it as the "starting point".
Do you think this could work?
Maybe in the future I try to make this endpoint dynamic, but as I said, with a statically compiled code it is not easy.
Sorry if this is already answered, but I can't seem to find it anywhere. Is there anyway to configure a list of services, to stop you having to setup servers on every "installation" of the web app?
If not, what would you suggest is the best approach to pre-load a server or list of servers?
The text was updated successfully, but these errors were encountered: