2016-10-05 11:57:37 +02:00
|
|
|
[web]
|
2014-12-01 12:34:57 +01:00
|
|
|
# Defines a comma separated list of couple of host (or IP address) and port
|
|
|
|
# number separeted by a colon to listen on.
|
|
|
|
listen = localhost:8000
|
|
|
|
|
|
|
|
# Defines the hostname for this network interface
|
|
|
|
#hostname =
|
|
|
|
|
|
|
|
# Defines the root path to retrieve data for `GET` request
|
2016-10-05 11:57:37 +02:00
|
|
|
root = public_data/sao
|
2014-12-01 12:34:57 +01:00
|
|
|
|
|
|
|
[xmlrpc]
|
|
|
|
# Same as for `jsonrpc` except it have no default value.
|
|
|
|
#listen = *:8069
|
|
|
|
|
|
|
|
[webdav]
|
|
|
|
# Same as for `jsonrpc` except it have no default value.
|
|
|
|
#listen = *:8787
|
|
|
|
|
|
|
|
[database]
|
|
|
|
# Contains the URI to connect to the SQL database. The URI follows the
|
|
|
|
# RFC-3986_.
|
|
|
|
# database://username:password@host:port/db_name
|
|
|
|
# database:
|
|
|
|
# postgresql
|
|
|
|
# sqlite
|
|
|
|
# mysql
|
|
|
|
uri=postgresql:///
|
|
|
|
|
|
|
|
# The directory where Tryton should store files.
|
|
|
|
path = attachments
|
|
|
|
|
|
|
|
# A boolean value (default: `True`) to list available databases.
|
|
|
|
list = True
|
|
|
|
|
|
|
|
# The number of retries when a database operation error occurs during a
|
|
|
|
# request.
|
|
|
|
#retry = 5
|
|
|
|
|
|
|
|
# The main language (default: `en_US`) of the database that will be stored in
|
|
|
|
# the main table for translatable fields.
|
|
|
|
language = en_US
|
|
|
|
|
|
|
|
[ssl]
|
|
|
|
# openssl req -new -x509 -keyout server.key -out server.pem -days 3650 -nodes
|
|
|
|
#privatekey = /home/administrator/cert/server.key
|
|
|
|
#certificate = /home/administrator/cert/server.pem
|
|
|
|
|
|
|
|
[email]
|
|
|
|
# The SMTP-URL_ to connect to the SMTP server which is extended to support SSL_
|
|
|
|
# and STARTTLS_
|
|
|
|
# The available protocols are:
|
|
|
|
# - `smtp`: simple SMTP
|
|
|
|
# - `smtp+tls`: SMTP with STARTTLS_
|
|
|
|
# - `smtps`: SMTP with SSL
|
|
|
|
#uri = smtp://localhost:25
|
|
|
|
|
|
|
|
# Defines the default `From` address when Tryton send emails.
|
|
|
|
#from =
|
|
|
|
|
|
|
|
[session]
|
|
|
|
# The time in second before a session expires.
|
|
|
|
timeout=14400
|
|
|
|
|
|
|
|
# Theserver password uses to authenticate database management from the client.
|
|
|
|
# It is encrypted using using the Unix `crypt(3)` routine.
|
|
|
|
# python -c 'import getpass,crypt,random,string; print crypt.crypt(getpass.getpass(), "".join(random.sample(string.ascii_letters + string.digits, 8)))'
|
|
|
|
super_pwd=aSwbO.nygCYuo
|
|
|
|
|
|
|
|
[report]
|
|
|
|
# The parameters for `unoconv`.
|
|
|
|
#
|
|
|
|
# .. _JSON-RPC: http://en.wikipedia.org/wiki/JSON-RPC
|
|
|
|
# .. _XML-RPC: http://en.wikipedia.org/wiki/XML-RPC
|
|
|
|
# .. _WebDAV: http://en.wikipedia.org/wiki/WebDAV
|
|
|
|
# .. _RFC-3986: http://tools.ietf.org/html/rfc3986
|
|
|
|
# .. _SMTP-URL: http://tools.ietf.org/html/draft-earhart-url-smtp-00
|
|
|
|
# .. _SSL: http://en.wikipedia.org/wiki/Secure_Sockets_Layer
|
|
|
|
# .. _STARTTLS: http://en.wikipedia.org/wiki/STARTTLS
|
|
|
|
#unoconv =
|
2015-06-17 11:24:35 +02:00
|
|
|
|
|
|
|
[jasper]
|
|
|
|
# File where the jasper server pid will be stored.
|
2016-10-05 11:57:37 +02:00
|
|
|
pid = jasper.pid
|
2015-06-17 11:24:35 +02:00
|
|
|
|
|
|
|
# Port for jasper
|
|
|
|
port = 8090
|
|
|
|
|
|
|
|
#Determines if temporary files will be removed
|
|
|
|
unlink = True
|
|
|
|
|
|
|
|
[optional]
|
|
|
|
# Enable develpment mode
|
|
|
|
dev = True
|
|
|
|
|
|
|
|
# Enable cron
|
|
|
|
cron = False
|
|
|
|
|
|
|
|
# File where the server pid will be stored
|
2016-10-05 11:57:37 +02:00
|
|
|
pidfile = trytond.pid
|
2015-06-17 11:24:35 +02:00
|
|
|
|
|
|
|
# File where the server print the logs
|
2016-10-05 11:57:37 +02:00
|
|
|
#logconf = server-logconf.cfg
|
2015-06-17 11:24:35 +02:00
|
|
|
|
|
|
|
# Enable verbose mode
|
2016-10-05 11:57:37 +02:00
|
|
|
verbose = True
|
2015-06-17 11:24:35 +02:00
|
|
|
|
2015-12-18 00:22:43 +01:00
|
|
|
doc_port = 8100
|
|
|
|
|
2015-06-17 11:24:35 +02:00
|
|
|
# Start multi processes, could be False or the number of workers.
|
2016-10-05 11:57:37 +02:00
|
|
|
#workers = 4
|
2015-06-17 11:24:35 +02:00
|
|
|
|
|
|
|
# Path to the nginx template config files, formatted with jinja2, or False.
|
2016-10-05 11:57:37 +02:00
|
|
|
#nginx_tmpl = /home/administrator/tryton/config/templates/nginx.tmpl
|