Skip to content

Make PORT variable for other processes available by name #189

@offbyone

Description

@offbyone

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions