gunicorn: Allow ipv6 sockets

This commit is contained in:
Josef 'veloc1ty' Stautner 2022-05-11 21:00:00 +02:00
parent b034e972b0
commit 213665cea2
No known key found for this signature in database
GPG Key ID: D518B3DC5A250FE6

View File

@ -1,6 +1,6 @@
import os
bind = f'0.0.0.0:{os.getenv("PAPERLESS_PORT", 8000)}'
bind = f'[::]:{os.getenv("PAPERLESS_PORT", 8000)}'
workers = int(os.getenv("PAPERLESS_WEBSERVER_WORKERS", 2))
worker_class = "paperless.workers.ConfigurableWorker"
timeout = 120