config.example.py: add MEDIA_PROXY config field

This commit is contained in:
Luna 2018-12-05 01:41:23 -03:00
parent d2bd6dd342
commit 9ab3fa6b70
1 changed files with 7 additions and 3 deletions

View File

@ -28,12 +28,16 @@ class Config:
# e.g 'gateway.example.com' for reverse proxies. # e.g 'gateway.example.com' for reverse proxies.
WEBSOCKET_URL = 'localhost:5001' WEBSOCKET_URL = 'localhost:5001'
# Where to host the websocket? #: Where to host the websocket?
# (a local address the server will bind to) # (a local address the server will bind to)
WS_HOST = '0.0.0.0' WS_HOST = '0.0.0.0'
WS_PORT = 5001 WS_PORT = 5001
# Postgres credentials #: Mediaproxy URL on the internet
# mediaproxy is made to prevent client IPs being leaked.
MEDIA_PROXY = 'localhost:5002'
#: Postgres credentials
POSTGRES = {} POSTGRES = {}