overmind icon indicating copy to clipboard operation
overmind copied to clipboard

Make PORT variable for other processes available by name

Open offbyone opened this issue 1 year ago • 1 comments

I'm looking for a way to make the $PORT variable for my services be available to other ones, so I can use the overmind ports instead of hardcoding connections between them.

For example, I'd like this:

redis: redis-server --port $PORT
service: my-service --redis-port $OVERMIND_PROCESS_redis_PORT

That way, I don't need to hardcode the DB port in order to access it from another service.

(note: I am not proposing process dependencies here; just that the port would be pregenerated and all of them made available during process start)

offbyone avatar Nov 21 '24 16:11 offbyone

I would like to see this feature as well

YChebotaev avatar Feb 22 '25 09:02 YChebotaev