mirror of
https://github.com/clearlinux/docs.git
synced 2026-09-01 19:31:32 +00:00
[FIX] POSTGRES_USER and POSTGRES_PASSWORD can be arbitrarily set
The run.sh script of odoo image now uses environment variables DB_ENV_POSTGRES_USER and DB_ENV_POSTGRES_PASSWORD to configure odoo
This commit is contained in:
@@ -31,9 +31,6 @@ This image requires a running PostgreSQL server.
|
||||
|
||||
docker run -d -e POSTGRES_USER=odoo -e POSTGRES_PASSWORD=odoo --name db postgres
|
||||
|
||||
Setting POSTGRES\_USER and POSTGRES\_PASSWORD to odoo is required for the Odoo
|
||||
image to use the Postgres server.
|
||||
|
||||
## Start an Odoo instance
|
||||
|
||||
docker run -p 127.0.0.1:8069:8069 --name odoo --link db:db -t odoo
|
||||
|
||||
@@ -21,9 +21,6 @@ This image requires a running PostgreSQL server.
|
||||
|
||||
docker run -d -e POSTGRES_USER=odoo -e POSTGRES_PASSWORD=odoo --name db postgres
|
||||
|
||||
Setting POSTGRES\_USER and POSTGRES\_PASSWORD to odoo is required for the Odoo
|
||||
image to use the Postgres server.
|
||||
|
||||
## Start an Odoo instance
|
||||
|
||||
docker run -p 127.0.0.1:8069:8069 --name odoo --link db:db -t odoo
|
||||
|
||||
Reference in New Issue
Block a user