feat: add environment variable to trust the reverse proxy

This commit is contained in:
Elias Schneider
2024-09-18 23:01:50 +02:00
parent 97dc3ecfdd
commit b13a81a88c
9 changed files with 40 additions and 19 deletions

View File

@@ -4,6 +4,8 @@ services:
restart: unless-stopped
ports:
- 3000:3000
environment:
- TRUST_PROXY=false # Set to true if a reverse proxy is in front of the container
volumes:
- "./data:/opt/app/backend/data"
- "./data/images:/opt/app/frontend/public/img"