vouch / vouch-proxy

an SSO and OAuth / OIDC login solution for Nginx using the auth_request module
MIT License
2.92k stars 327 forks source link

Can't deploy vouch-proxy on another port with variable VOUCH_PORT #579

Closed Grey999 closed 1 month ago

Grey999 commented 1 month ago

image: voucher/vouch-proxy:0.27.1 Hello,

I'm trying to run several vouch-proxy on a vm using docker containers. I have one binding to port 9090 and I wanted to deploy two more on 9091 and 9092.

However, when trying to deploy the second container, I received this error:

Error: Bind for 0.0.0.0:9090 failed: port is already allocated

While I specifically precised VOUCH_PORT: 9091 and expose port 9091. image image

Could someone tell me what am I doing wrong ?

bnfinet commented 1 month ago

That's a very old version of VP. Please try a newer version.