thalesgroup-cert / Watcher

Watcher - Open Source Cybersecurity Threat Hunting Platform. Developed with Django & React JS.
https://thalesgroup-cert.github.io/Watcher
GNU Affero General Public License v3.0
856 stars 124 forks source link

Running behind a reverse proxy? #14

Closed xme closed 2 years ago

xme commented 4 years ago

Not a feature request/bug but advice... Anybody is already running Watcher behind a reverse-proxy (traefik in my case)? In the official docker-compose file, IP addresses are assigned to the containers. My idea is to connect the 'watcher' container also to my traefik network to be accessed by the reverse proxy.

JamesCullum commented 3 years ago

The IP addresses assigned are docker internal, not on your network (proper use is hostnames instead of IPs). Docker will expose the named ports on the host device, to which you need to map your reverse proxy.

8ear commented 3 years ago

Hi, I use traefik as reverse proxy for watcher: https://github.com/it-bgk/cdc-plattform/blob/master/watcher/docker-compose.override.yml