From adf82586709104396613162f38a2cb925643639b Mon Sep 17 00:00:00 2001 From: TheFrenchGhosty Date: Thu, 4 Nov 2021 16:17:54 +0100 Subject: [PATCH] Add a note for a production-ready teddit not behind a reverse proxy --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 5c30e43..85c9faf 100644 --- a/README.md +++ b/README.md @@ -88,6 +88,11 @@ networks: teddit_net: ``` +Note: This compose is made for a true "production" setup, and is made to be used to have teddit behind a reverse proxy, if you don't want that and prefer to directly access teddit via its port: + +- Change `ports: - "127.0.0.1:8080:8080"` to `ports: - "8080:8080"` +- Remove `DOMAIN=teddit.net`, `USE_HELMET=true`, `USE_HELMET_HSTS=true`, `TRUST_PROXY=true` + ### Docker-compose method (development)