changeset fd905535e396 in tryton-docker:default
details: https://hg.tryton.org/tryton-docker?cmd=changeset;node=fd905535e396
description:
        Advise DB_PASSWORD instead of POSTGRES_ENV_POSTGRES_PASSWORD

        It is shorter and more meaningful

        issue9063
diffstat:

 README.md |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r b312d6d220cc -r fd905535e396 README.md
--- a/README.md Sun Feb 23 13:44:01 2020 +0100
+++ b/README.md Sun Feb 23 13:47:19 2020 +0100
@@ -18,13 +18,13 @@
 ## Setup the database
 
 ```console
-$ docker run --link tryton-postgres:postgres -e 
POSTGRES_ENV_POSTGRES_PASSWORD=mysecretpassword -it tryton/tryton trytond-admin 
-d tryton --all
+$ docker run --link tryton-postgres:postgres -e DB_PASSWORD=mysecretpassword 
-it tryton/tryton trytond-admin -d tryton --all
 ```
 
 ## Start a Tryton instance
 
 ```console
-$ docker run --name tryton -p 8000:8000 --link tryton-postgres:postgres -e 
POSTGRES_ENV_POSTGRES_PASSWORD=mysecretpassword -d tryton/tryton
+$ docker run --name tryton -p 8000:8000 --link tryton-postgres:postgres -e 
DB_PASSWORD=mysecretpassword -d tryton/tryton
 ```
 
 You can connect to Tryton using http://localhost:8000/
@@ -32,7 +32,7 @@
 ## Start a Tryton cron instance
 
 ```console
-$ docker run --name tryton-cron --link tryton-postgres:postgres -e 
POSTGRES_ENV_POSTGRES_PASSWORD=mysecretpassword -d tryton/tryton trytond-cron 
-d tryton
+$ docker run --name tryton-cron --link tryton-postgres:postgres -e 
DB_PASSWORD=mysecretpassword -d tryton/tryton trytond-cron -d tryton
 ```
 
 ## Command arguments

Reply via email to