Files
Archipelago/deploy/example_gunicorn.conf.py
Adrian Priestley d80d297d97 feat(deployment): Implement containerized deployment configuration
- 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
2025-01-04 09:48:57 -03:30

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"