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

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

diffs (65 lines):

diff -r 933659fd69f6 -r d6f5bae32b60 6.6.env
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/6.6.env   Mon Oct 31 19:16:02 2022 +0100
@@ -0,0 +1,11 @@
+DB_HOSTNAME=postgres-6.6
+TRYTOND_WEB__HOSTNAME=demo6.6.tryton.org
+TRYTOND_WEB__CORS=https://demo6.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-bus6.6.tryton.org/
+TRYTOND_SESSION__AUTHENTICATIONS=none,password
diff -r 933659fd69f6 -r d6f5bae32b60 docker-compose.yml
--- a/docker-compose.yml        Mon May 02 23:15:07 2022 +0200
+++ b/docker-compose.yml        Mon Oct 31 19:16:02 2022 +0100
@@ -1,6 +1,46 @@
 version: '2'
 
 services:
+    postgres-6.6:
+        image: postgres:14
+        environment:
+            - POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
+        restart: unless-stopped
+    tryton-6.6:
+        build:
+            context: .
+            args:
+                SERIES: 6.6
+        image: tryton/tryton-demo:6.6
+        env_file: 6.6.env
+        environment:
+            - DB_PASSWORD=${POSTGRES_PASSWORD}
+        ports:
+            - "127.6.6.1:8000:8000"
+        depends_on:
+            - postgres-6.6
+        restart: unless-stopped
+    tryton-worker-6.6:
+        image: tryton/tryton-demo:6.6
+        env_file: 6.6.env
+        environment:
+            - DB_PASSWORD=${POSTGRES_PASSWORD}
+        command: trytond-worker -d demo6.6 -n 1
+        depends_on:
+            - postgres-6.6
+        restart: unless-stopped
+    tryton-bus-6.6:
+        image: tryton/tryton-demo:6.6
+        env_file: 6.6.env
+        environment:
+            - DB_PASSWORD=${POSTGRES_PASSWORD}
+        command: trytond --coroutine
+        ports:
+            - "127.6.6.1:8001:8000"
+        depends_on:
+            - postgres-6.6
+        restart: unless-stopped
+
     postgres-6.4:
         image: postgres:14
         environment:

Reply via email to