refactor: Deploy System

This commit is contained in:
2026-06-18 17:43:49 -05:00
parent 259af7dc81
commit ad8334d11c
23 changed files with 301 additions and 158 deletions

51
.env.production.example Normal file
View File

@@ -0,0 +1,51 @@
# version Trytond server example 6.0
TRYTOND_VERSION=7.6
TRYTON_ADMIN_PASS=admin
TRYTON_ADMIN_EMAIL=admin@gmail.co
TRYTONADMINPASS=admin
TRYTONPASSFILE=/etc/trytond_admin_pass.conf
SLEEP_TRYTOND_ADMIN=5
# TRYTOND operation mode
TRYTON_PORT=8000
DEVELOP=False
WORKER=True
# Facho
FACHO=True
FACHO_BRANCH=MigrationPython312Test
# if the module repository is private
GITEA_USER=user
GITEA_PASSWORD=password
GITEA_ACCESS_TOKEN=TOKEN
GITEA_DOMAIN=gitea.domain.org
# Database configuration
DB_HOSTNAME=db
DB_PASSWORD=SUp3r-pass*DB
POSTGRES_DB=tryton
POSTGRES_USER=postgres
POSTGRES_PASSWORD=SUp3r-pass*DB
# SMTP This value is True or False
SMTP=False
SMTP_TYPE=smtps+ssl
SMTP_USER=email@example.com
SMTP_PASSWORD=PASSWORD
SMTP_DOMAIN=mail.example.org
SMTP_PORT=465
SMTP_FROM="NAME_FROM <email@example.com>"
SMTP_EMAIL=email@example.org
# NGINX
SERVER_NAME=localhost.example
NGINX_PORT=10000
VARIABLE=$