overmind
overmind copied to clipboard
Make PORT variable for other processes available by name
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)
I would like to see this feature as well