changeset d24576ae87e0 in tryton-docker-demo:default
details: 
https://hg.tryton.org/tryton-docker-demo?cmd=changeset;node=d24576ae87e0
description:
        Setup demo for 5.6
diffstat:

 5.6.env            |  10 ++++++++++
 docker-compose.yml |  36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+), 0 deletions(-)

diffs (60 lines):

diff -r ba2d6797bc24 -r d24576ae87e0 5.6.env
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/5.6.env   Mon May 04 16:06:08 2020 +0200
@@ -0,0 +1,10 @@
+DB_HOSTNAME=postgres-5.6
+TRYTOND_WEB__HOSTNAME=demo5.6.tryton.org
+TRYTOND_WEB__CORS=https://demo5.6.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-bus5.6.tryton.org/
diff -r ba2d6797bc24 -r d24576ae87e0 docker-compose.yml
--- a/docker-compose.yml        Sun Apr 19 09:56:59 2020 +0200
+++ b/docker-compose.yml        Mon May 04 16:06:08 2020 +0200
@@ -1,6 +1,42 @@
 version: '2'
 
 services:
+    postgres-5.6:
+        image: postgres:12
+        environment:
+            - POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
+        restart: unless-stopped
+    tryton-5.6:
+        image: tryton/tryton:5.6
+        env_file: 5.6.env
+        environment:
+            - DB_PASSWORD=${POSTGRES_PASSWORD}
+        ports:
+            - "127.5.6.1:8000:8000"
+        depends_on:
+            - postgres-5.6
+        restart: unless-stopped
+    tryton-worker-5.6:
+        image: tryton/tryton:5.6
+        env_file: 5.6.env
+        environment:
+            - DB_PASSWORD=${POSTGRES_PASSWORD}
+        command: trytond-worker -d demo5.6 -n 1
+        depends_on:
+            - postgres-5.6
+        restart: unless-stopped
+    tryton-bus-5.6:
+        image: tryton/tryton:5.6
+        env_file: 5.6.env
+        environment:
+            - DB_PASSWORD=${POSTGRES_PASSWORD}
+        command: trytond --coroutine
+        ports:
+            - "127.5.6.1:8001:8000"
+        depends_on:
+            - postgres-5.6
+        restart: unless-stopped
+
     postgres-5.4:
         image: postgres:12
         environment:

Reply via email to