serokell / coffer

Multi-backend password store with multiple frontends
4 stars 2 forks source link

Make the port number configurable #85

Closed dcastro closed 2 years ago

dcastro commented 2 years ago

Clarification and motivation

The port that servant will list on should be configurable, via a command-line option or an env variable.

The command-line option should take precedence over the env variable.

Acceptance criteria

Kariel-Myrr commented 2 years ago

What we're doing if port wasn't specified nor by cmd option, nor by env var? Just running it on 8081 or failing?

dcastro commented 2 years ago

I'd say we should fail and tell the user to specify a port and how to do it.