Add a note for a production-ready teddit not behind a reverse proxy

This commit is contained in:
TheFrenchGhosty 2021-11-04 16:17:54 +01:00
parent db63adcb7d
commit adf8258670

View File

@ -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)