mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Added a hint about quotes and TRUSTED_PROXIES setting in docker-compose example
This commit is contained in:
parent
46adb6d8b8
commit
feca20ef77
1 changed files with 6 additions and 2 deletions
|
@ -47,8 +47,9 @@ services:
|
||||||
|
|
||||||
# You can configure Part-DB using environment variables
|
# You can configure Part-DB using environment variables
|
||||||
# Below you can find the most essential ones predefined
|
# Below you can find the most essential ones predefined
|
||||||
# However you can add add any other environment configuration you want here
|
# However you can add any other environment configuration you want here
|
||||||
# See .env file for all available options or https://docs.part-db.de/configuration.html
|
# See .env file for all available options or https://docs.part-db.de/configuration.html
|
||||||
|
# !!! Do not use quotes around the values, as they will be interpreted as part of the value and this will lead to errors !!!
|
||||||
|
|
||||||
# The language to use serverwide as default (en, de, ru, etc.)
|
# The language to use serverwide as default (en, de, ru, etc.)
|
||||||
- DEFAULT_LANG=en
|
- DEFAULT_LANG=en
|
||||||
|
@ -65,9 +66,12 @@ services:
|
||||||
# Use gravatars for user avatars, when user has no own avatar defined
|
# Use gravatars for user avatars, when user has no own avatar defined
|
||||||
- USE_GRAVATAR=0
|
- USE_GRAVATAR=0
|
||||||
|
|
||||||
# Override value if you want to show to show a given text on homepage.
|
# Override value if you want to show a given text on homepage.
|
||||||
# When this is empty the content of config/banner.md is used as banner
|
# When this is empty the content of config/banner.md is used as banner
|
||||||
#- BANNER=This is a test banner<br>with a line break
|
#- BANNER=This is a test banner<br>with a line break
|
||||||
|
|
||||||
|
# If you use a reverse proxy in front of Part-DB, you must configure the trusted proxies IP addresses here (see reverse proxy documentation for more information):
|
||||||
|
# - TRUSTED_PROXIES=127.0.0.0/8,::1,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Customize the settings by changing the environment variables (or add new ones). See [Configuration]({% link
|
4. Customize the settings by changing the environment variables (or add new ones). See [Configuration]({% link
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue