changeset c86ab1ee9a01 in tryton-docker-demo:default details: https://hg.tryton.org/tryton-docker-demo?cmd=changeset&node=c86ab1ee9a01 description: Setup demo for 6.2 diffstat:
6.2.env | 11 +++++++++++ docker-compose.yml | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+), 0 deletions(-) diffs (65 lines): diff -r ff465988691d -r c86ab1ee9a01 6.2.env --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/6.2.env Mon Nov 01 19:53:45 2021 +0100 @@ -0,0 +1,11 @@ +DB_HOSTNAME=postgres-6.2 +TRYTOND_WEB__HOSTNAME=demo6.2.tryton.org +TRYTOND_WEB__CORS=https://demo6.2.tryton.org +TRYTOND_WEB__NUM_PROXIES=1 +TRYTOND_EMAIL__URI=smtp://smtpd:25 +TRYTOND_PASSWORD__LENGTH=0 +TRYTOND_PASSWORD__ENTROPY=0 +TRYTOND_QUEUE__WORKER=true +TRYTOND_BUS__ALLOW_SUBSCRIBE=true +TRYTOND_BUS__URL_HOST=https://demo-bus6.2.tryton.org/ +TRYTOND_SESSION__AUTHENTICATIONS=none,password diff -r ff465988691d -r c86ab1ee9a01 docker-compose.yml --- a/docker-compose.yml Mon May 03 18:36:12 2021 +0200 +++ b/docker-compose.yml Mon Nov 01 19:53:45 2021 +0100 @@ -1,6 +1,46 @@ version: '2' services: + postgres-6.2: + image: postgres:13 + environment: + - POSTGRES_PASSWORD=${POSTGRES_PASSWORD} + restart: unless-stopped + tryton-6.2: + build: + context: . + args: + SERIES: 6.2 + image: tryton/tryton-demo:6.2 + env_file: 6.2.env + environment: + - DB_PASSWORD=${POSTGRES_PASSWORD} + ports: + - "127.6.2.1:8000:8000" + depends_on: + - postgres-6.2 + restart: unless-stopped + tryton-worker-6.2: + image: tryton/tryton-demo:6.2 + env_file: 6.2.env + environment: + - DB_PASSWORD=${POSTGRES_PASSWORD} + command: trytond-worker -d demo6.2 -n 1 + depends_on: + - postgres-6.2 + restart: unless-stopped + tryton-bus-6.2: + image: tryton/tryton-demo:6.2 + env_file: 6.2.env + environment: + - DB_PASSWORD=${POSTGRES_PASSWORD} + command: trytond --coroutine + ports: + - "127.6.2.1:8001:8000" + depends_on: + - postgres-6.2 + restart: unless-stopped + postgres-6.0: image: postgres:13 environment:
