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
As a developer and operator I would like to have the option to run NATS Server embedded, so that I can run this system with or without a NATS Server.
This makes it easy to run on VPS or bare mental where port 25 is available too. Fly.io is an example of a hosting solution that allows port 25, and is an easy Docker deploy.
K8 is not effected by this, because the proposed solution for Config means that if a NATS Server URL is supplied then it used an external NATS Server.
Hi @gedw99,
sorry for the delay but I've completely miss the notification (too much notification from github) :D
Thanks for this, I didn't know it was possible.
I'm not having much time to maintain this project but I have the idea to simply the deployment and I'll take in consideration this issue in the future.
User Story
As a developer and operator I would like to have the option to run NATS Server embedded, so that I can run this system with or without a NATS Server.
This makes it easy to run on VPS or bare mental where port 25 is available too. Fly.io is an example of a hosting solution that allows port 25, and is an easy Docker deploy.
K8 is not effected by this, because the proposed solution for Config means that if a NATS Server URL is supplied then it used an external NATS Server.
Detailed Description
Nats Server has a simple way to do this.
https://github.com/maxpert/marmot/blob/master/stream/embedded_nats.go shows how its used.
https://github.com/maxpert/marmot/blob/master/stream/nats.go#L27C2-L27C2 shows the check to use the embed nats server or not.
Anything else
Config just needs a toggle to enable this. The checker above assumes to use embedded if its NOT in the .env config, which is a sensible way
The text was updated successfully, but these errors were encountered: