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:
2025-12-24 17:05:10 +01:00
parent 1066097465
commit efd53e6c49
13 changed files with 175 additions and 0 deletions

12
uwsgi.ini Normal file
View 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