File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -808,6 +808,13 @@ PAPERLESS_WEBSERVER_WORKERS=<num>
808808
809809 Defaults to 1.
810810
811+ PAPERLESS_BIND_ADDR=<ip address>
812+ The IP address the webserver will listen on inside the container. There are
813+ special setups where you may need to configure this value to restrict the
814+ Ip address or interface the webserver listens on.
815+
816+ Defaults to [::], meaning all interfaces, including IPv6.
817+
811818PAPERLESS_PORT=<port>
812819 The port number the webserver will listen on inside the container. There are
813820 special setups where you may need this to avoid collisions with other
Original file line number Diff line number Diff line change 11import os
22
3- bind = f'[::]:{ os .getenv ("PAPERLESS_PORT" , 8000 )} '
3+ bind = f'{ os . getenv ( "PAPERLESS_BIND_ADDR" , " [::]" ) } :{ os .getenv ("PAPERLESS_PORT" , 8000 )} '
44workers = int (os .getenv ("PAPERLESS_WEBSERVER_WORKERS" , 1 ))
55worker_class = "paperless.workers.ConfigurableWorker"
66timeout = 120
You can’t perform that action at this time.
0 commit comments