Skip to content

api: bind to a specific interface/IP

Pierre-Alain TORET requested to merge daftaupe/commento-ce:#6 into master

Should resolve #6 (closed).

commento-ce now default to bind on 127.0.0.1. This can be overridden passing environment variables such as the following :

  • COMMENTO_BIND_ADDRESS=192.168.1.100
  • COMMENTO_BIND_ADDRESS=0.0.0.0
  • COMMENTO_BIND_ADDRESS=[::1]
  • COMMENTO_BIND_ADDRESS=[::]
  • COMMENTO_BIND_ADDRESS=[fe80::f136:4eaa:6c13:3050%ens3]

Dockerfile needed an adaptation.

Signed-off-by: Pierre-Alain TORET pierre-alain.toret@protonmail.com

Edited by Pierre-Alain TORET

Merge request reports