Replies: 2 comments 1 reply
-
Well, if you find a mechanism for avoiding the problem/feature, please propose the PR. |
Beta Was this translation helpful? Give feedback.
0 replies
-
What would be then the process to create a DB in prod? First start everything ( |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Because we are setting
POSTGRES_DB
to*dbname
at first start the postgres image is creating an empty database with dbname before Odoo is starting. Which prevents odoo from automatically initialising the db in _create_empty_database and forces us to use something likedocker-compose run --rm odoo odoo -i base --stop-after-init
to initialize the db.Also this way the extensions (pg_trgm, unaccent) normally created by Odoo are not created in this initialization procedure in doodba.
Should we fix this or has it been implemented to long and do we leave it as a "feature"?
Beta Was this translation helpful? Give feedback.
All reactions