tryton-config/templates/trytond-dev.conf

115 lines
3 KiB
Plaintext

[web]
# 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
root = public_data/sao
[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 =
[jasper]
# File where the jasper server pid will be stored.
pid = jasper.pid
# 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
pidfile = trytond.pid
# File where the server print the logs
#logconf = server-logconf.cfg
# Enable verbose mode
verbose = True
doc_port = 8100
# Start multi processes, could be False or the number of workers.
#workers = 4
# Path to the nginx template config files, formatted with jinja2, or False.
#nginx_tmpl = /home/administrator/tryton/config/templates/nginx.tmpl