changeset b312d6d220cc in tryton-docker:default
details: https://hg.tryton.org/tryton-docker?cmd=changeset;node=b312d6d220cc
description:
        Set environment variable for PostgreSQL password

        issue9063
        review289291002
diffstat:

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

diffs (28 lines):

diff -r 2236510ea1c5 -r b312d6d220cc README.md
--- a/README.md Wed Dec 18 21:33:28 2019 +0100
+++ b/README.md Sun Feb 23 13:44:01 2020 +0100
@@ -18,13 +18,13 @@
 ## Setup the database
 
 ```console
-$ docker run --link tryton-postgres:postgres -it tryton/tryton trytond-admin 
-d tryton --all
+$ docker run --link tryton-postgres:postgres -e 
POSTGRES_ENV_POSTGRES_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 -d 
tryton/tryton
+$ docker run --name tryton -p 8000:8000 --link tryton-postgres:postgres -e 
POSTGRES_ENV_POSTGRES_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 -d 
tryton/tryton trytond-cron -d tryton
+$ docker run --name tryton-cron --link tryton-postgres:postgres -e 
POSTGRES_ENV_POSTGRES_PASSWORD=mysecretpassword -d tryton/tryton trytond-cron 
-d tryton
 ```
 
 ## Command arguments

Reply via email to