Files
aem_monespace/production.ini
2023-06-22 10:26:17 +02:00

85 lines
1.8 KiB
INI

###
# app configuration
# http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/environment.html
###
[app:main]
use = egg:monaem
pyramid.reload_templates = false
pyramid.debug_authorization = false
pyramid.debug_notfound = false
pyramid.debug_routematch = false
pyramid.default_locale_name = en
pyramid.includes =
pyramid_chameleon
pyramid_layout
pyramid_mailer
pyramid_tm
sqlalchemy.url = mysql://phuoc:phuoc!@10.69.6.8/bd_aem?charset=utf8
# sqlalchemy.url = mysql://phuoc:phuoc!@srv-dc/bd_aem?charset=utf8
sqlalchemy.pool_recycle = 3600
#monaem.justifs_url = monaem:static/JUSTIFS/
monaem.justifs_dir = /mnt/JUSTIFS
monaem.admin_email = no-reply@marietton.com
monaem.circuit_email = circuit@marietton.com
monaem.pro_email = pro@marietton.com
monaem.comm_email = communication@marietton.com
# Mailer configuration
# mail.host = smtp-av.nerim.net
# mail.port = 25
mail.host = ssl0.ovh.net
mail.port = 465
mail.username = circuit@marietton.com
mail.password = 9c96jUqKM
mail.ssl = yes
[server:main]
use = egg:waitress#main
host = 0.0.0.0
port = 6543
url_scheme = https
###
# logging configuration
# http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/logging.html
###
[loggers]
keys = root, monaem, sqlalchemy
[handlers]
keys = console
[formatters]
keys = generic
[logger_root]
level = WARN
handlers = console
[logger_monaem]
level = WARN
handlers =
qualname = monaem
[logger_sqlalchemy]
level = WARN
handlers =
qualname = sqlalchemy.engine
# "level = INFO" logs SQL queries.
# "level = DEBUG" logs SQL queries and results.
# "level = WARN" logs neither. (Recommended for production systems.)
[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = NOTSET
formatter = generic
[formatter_generic]
format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s