mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-03-25 06:53:20 -07:00
- Add additional environment variables for Python optimization - Update Dockerfile with new dependencies: eventlet, gevent, tornado - Create docker-compose.yml and configure services for web and nginx - Implement example configurations for web host settings and gunicorn - Establish nginx configuration for reverse proxy - Remove outdated docker-compose.yml from root directory
12 lines
336 B
Python
12 lines
336 B
Python
import multiprocessing
|
|
|
|
workers = multiprocessing.cpu_count() * 2 + 1
|
|
wsgi_app = "WebHost:get_app()"
|
|
accesslog = "-"
|
|
access_log_format = (
|
|
'%({x-forwarded-for}i)s %(l)s %(u)s %(t)s "%(r)s" %(s)s %(b)s "%(f)s" "%(a)s"'
|
|
)
|
|
worker_class = "sync" # "sync" | eventlet" | "gevent" | "tornado"
|
|
forwarded_allow_ips = "*"
|
|
loglevel = "debug"
|