-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
where do I set the database name? #331
Comments
From the compose section:
Or try |
If they updated/added this, they should also update the environment variable section on dockerhub. |
He was refering to postgres, Odoo does not offer a simple setting for that. |
Offer an example Docker Compose that will set the database name for Odoo. - odoo/docker#394 - odoo/docker#358 - odoo/docker#331
Offer an example Docker Compose that will set the database name for Odoo. - odoo/docker#394 - odoo/docker#358 - odoo/docker#331 Additional changes - Title case name Postgres - Correct indentation of prior example
Offer an example Docker Compose that will set the database name for Odoo. - odoo/docker#394 - odoo/docker#358 - odoo/docker#331 Additional changes - Title case name Postgres - Correct indentation of prior example
example version: '3.1'
services:
web:
image: %%IMAGE%%:17.0
depends_on:
- mydb
ports:
- "8069:8069"
environment:
- HOST=mydb
- USER=odoo
- PASSWORD=myodoo
command: odoo -d customdb
mydb:
image: postgres:15
environment:
- POSTGRES_DB=postgres
- POSTGRES_PASSWORD=myodoo
- POSTGRES_USER=odoo note that POSTGRES_DB must be set to if you are connecting to an existing database then it may not be needed. |
where do I set the database name?
missing on this page
https://hub.docker.com/_/odoo
The text was updated successfully, but these errors were encountered: