changeset ff465988691d in tryton-docker-demo:default
details: 
https://hg.tryton.org/tryton-docker-demo?cmd=changeset&node=ff465988691d
description:
        Setup demo for 6.0
diffstat:

 6.0.env            |  11 +++++++++++
 docker-compose.yml |  40 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+), 0 deletions(-)

diffs (65 lines):

diff -r 16075b6e6d56 -r ff465988691d 6.0.env
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/6.0.env   Mon May 03 18:36:12 2021 +0200
@@ -0,0 +1,11 @@
+DB_HOSTNAME=postgres-6.0
+TRYTOND_WEB__HOSTNAME=demo6.0.tryton.org
+TRYTOND_WEB__CORS=https://demo6.0.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.0.tryton.org/
+TRYTOND_SESSION__AUTHENTICATIONS=none,password
diff -r 16075b6e6d56 -r ff465988691d docker-compose.yml
--- a/docker-compose.yml        Tue Feb 23 09:49:53 2021 +0100
+++ b/docker-compose.yml        Mon May 03 18:36:12 2021 +0200
@@ -1,6 +1,46 @@
 version: '2'
 
 services:
+    postgres-6.0:
+        image: postgres:13
+        environment:
+            - POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
+        restart: unless-stopped
+    tryton-6.0:
+        build:
+            context: .
+            args:
+                SERIES: 6.0
+        image: tryton/tryton-demo:6.0
+        env_file: 6.0.env
+        environment:
+            - DB_PASSWORD=${POSTGRES_PASSWORD}
+        ports:
+            - "127.6.0.1:8000:8000"
+        depends_on:
+            - postgres-6.0
+        restart: unless-stopped
+    tryton-worker-6.0:
+        image: tryton/tryton-demo:6.0
+        env_file: 6.0.env
+        environment:
+            - DB_PASSWORD=${POSTGRES_PASSWORD}
+        command: trytond-worker -d demo6.0 -n 1
+        depends_on:
+            - postgres-6.0
+        restart: unless-stopped
+    tryton-bus-6.0:
+        image: tryton/tryton-demo:6.0
+        env_file: 6.0.env
+        environment:
+            - DB_PASSWORD=${POSTGRES_PASSWORD}
+        command: trytond --coroutine
+        ports:
+            - "127.6.0.1:8001:8000"
+        depends_on:
+            - postgres-6.0
+        restart: unless-stopped
+
     postgres-5.8:
         image: postgres:12
         environment:

Reply via email to