From 79c8edd354d3e44a20016df4b17a86a3419f834f Mon Sep 17 00:00:00 2001 From: MaxJa4 <74194322+MaxJa4@users.noreply.github.com> Date: Fri, 7 Jan 2022 20:14:49 +0100 Subject: [PATCH] Some additional info for reverse proxy setups. Since there have been quite some people with basic docker setup issues when using a reverse proxy and very basic reverse proxies like a nginx running locally as a proxy or Caddy, I figured these added sentences might clear things up for some people. Feel free to suggest additional topics which should be added or refined. --- docs/install/docker.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/install/docker.md b/docs/install/docker.md index fdf2dab90..3a29ea42d 100644 --- a/docs/install/docker.md +++ b/docs/install/docker.md @@ -73,6 +73,8 @@ wget https://raw.githubusercontent.com/vabene1111/recipes/develop/docs/install/d Most deployments will likely use a reverse proxy. +If your reverse proxy is not listed here, please refer to [Others](https://docs.tandoor.dev/install/docker/#others). + #### Traefik If you use traefik, this configuration is the one for you. @@ -157,6 +159,12 @@ In both cases, also make sure to mount `/media/` in your swag container to point Please refer to the [appropriate documentation](https://github.com/linuxserver/docker-swag#usage) for the container setup. +### Others + +If you use none of the above mentioned reverse proxies or want to use an existing one on your host machine (like a local nginx or Caddy), simply use the [PLAIN](https://docs.tandoor.dev/install/docker/#plain) setup above and change the outbound port to one of your liking. + +An example port config (inside the respective docker-compose.yml) would be: `8123:80` instead of the `80:80` or if you want to be sure, that Tandoor is **just** accessible via your proxy and don't wanna bother with your firewall, then `127.0.0.1:8123:80` is a viable option too. + ## Additional Information ### Nginx vs Gunicorn