Loïc Faure-Lacroix

Results 35 comments of Loïc Faure-Lacroix

I have the same problem. It might be related to this: https://github.com/Automattic/mongoose/issues/2229 I've got a similar problem now. I know for sure that my build log is really big. It...

If you need 3.6, you may have a look at my image. https://github.com/llacroix/odoo-docker Since 15.0 is going to get released soon enough, it's likely to get unsupported from this official...

@d-fence You don't have to transfer the env variables from the host to the guest docker container. But you could well defined them using the db_host, db_port, db_password and db_name....

@f1-outsourcing If you're still worried about password / security have a look here https://github.com/llacroix/odoo-docker The image setups postgres using .pgpass file so it can be setup as a secret. In...

I think you're all over thinking it. Healthcheck is pretty much an implementation detail. If you use 0 workers, the healthcheck will need to be different as it's not using...

@lemniskett It's still better than nothing. It will at least not create useless sessions and fill your session store folder after each seconds. The downside is that it's not backward...

@lonix1 you can check my fork if you need that It's already supported https://github.com/llacroix/odoo-docker/blob/f70d0e59de5d7076edc2b30ec247a1ca589eaa2c/12.0/sudo-entrypoint.py#L63-79

That said, defining the environment variable PGPASSFILE should be enough as such: ``` odoo: secrets: - postgresql_password environment: PGPASSFILE: /run/secrets/odoo_postgresql_password # unsupported secrets: postgresql_password: file: odoo_postgresql_password ``` Tought... The official...

@lonix1 psycopg2 does default to ENV variables if you don't provide any credentials here look in my entrypoint: https://github.com/llacroix/odoo-docker/blob/master/assets/entrypoint.py#L378 And in odoo: https://github.com/odoo/odoo/blob/cc47c76ee70ea684ab8352c47d1d06e7d8282b1b/odoo/sql_db.py#L599 If you insist on using the default...

Yes, not arguing with that, it's ridiculous to require password to be set in cleartext in env variables. Those can easily get leaked in logs and stuff like that... And...