Hi,
in production, good practice is to set only one database per service.
in other words, start one process per database with a dedicated postgresql role.

2018-01-28 18:02 GMT+01:00 Josias Pérez <[email protected]>:
> Hi, I have the following config file for a uWSGI server. All works fine, but 
> all the database are listed, is there a way to show only 1 database?
>
> [uwsgi]
> http-socket=0.0.0.0:8000
> virtualenv = /opt/cr
> module=trytond.application:app
> env = TRYTOND_CONFIG=/opt/cr/tr.conf
> env = TRYTOND_LOGGING_CONFIG=/opt/cr/log.conf
> env = TRYTOND_DATABASE_NAMES=cr
> check-static = /opt/cr/saocr
> uid = www-data
> gid = www-data
>
> I was reading this docs[1] but I dont know if I'm doing something bad.
>
> [1] 
> http://doc.tryton.org/4.6/trytond/doc/topics/start_server.html#topics-start-server
>
> Thanks in advance!

-- 
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/CAHZrxK4NQ1%3DN7K2AvzOGdtkSt1-Ki9vHKMk86JjiyZDPnXTYUw%40mail.gmail.com.

Reply via email to