Add Trytond configuration and scripts for deployment
This commit introduces essential files and scripts for setting up a Trytond environment, including configuration, logging, systemd services, NGINX, and utility scripts for managing Trytond.
This commit is contained in:
12
uwsgi.ini
Normal file
12
uwsgi.ini
Normal file
@@ -0,0 +1,12 @@
|
||||
[uwsgi]
|
||||
http-socket = 0.0.0.0:5160
|
||||
master = true
|
||||
chdir = /home/tryton/also60prod
|
||||
virtualenv = /home/tryton/also60prod/.venv
|
||||
wsgi = trytond.application:app
|
||||
processes = 4
|
||||
threads = 2
|
||||
env = TRYTOND_CONFIG=/home/tryton/also60prod/trytond.conf
|
||||
env = TRYTOND_LOGGING_CONFIG=/home/tryton/also60prod/logging.conf
|
||||
# env = TRYTOND_COROUTINE=True
|
||||
env = TRYTOND_DATABASE_NAMES=also
|
||||
Reference in New Issue
Block a user