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

 5.4.env            |  10 ++++++++++
 docker-compose.yml |  28 ++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+), 0 deletions(-)

diffs (52 lines):

diff -r 4d20ef95655c -r 9c3dd46a907c 5.4.env
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/5.4.env   Mon Nov 04 17:24:22 2019 +0100
@@ -0,0 +1,10 @@
+DB_HOSTNAME=postgres-5.4
+TRYTOND_WEB__HOSTNAME=demo5.4.tryton.org
+TRYTOND_WEB__CORS=http://demo5.4.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=http://demo-bus5.4.tryton.org/
diff -r 4d20ef95655c -r 9c3dd46a907c docker-compose.yml
--- a/docker-compose.yml        Wed Oct 09 11:26:18 2019 +0200
+++ b/docker-compose.yml        Mon Nov 04 17:24:22 2019 +0100
@@ -1,6 +1,34 @@
 version: '2'
 
 services:
+    postgres-5.4:
+        image: postgres:12
+        restart: unless-stopped
+    tryton-5.4:
+        image: tryton/tryton:5.4
+        env_file: 5.4.env
+        ports:
+            - "127.5.4.1:8000:8000"
+        depends_on:
+            - postgres-5.4
+        restart: unless-stopped
+    tryton-worker-5.4:
+        image: tryton/tryton:5.4
+        env_file: 5.4.env
+        command: trytond-worker -d demo5.4
+        depends_on:
+            - postgres-5.4
+        restart: unless-stopped
+    tryton-bus-5.4:
+        image: tryton/tryton:5.4
+        env_file: 5.4.env
+        command: trytond --coroutine
+        ports:
+            - "127.5.4.1:8001:8000"
+        depends_on:
+            - postgres-5.4
+        restart: unless-stopped
+
     postgres-5.2:
         image: postgres:11
         restart: unless-stopped

Reply via email to