arthurd2

Instalação do Botpress

May 27th, 2021 (edited)
635
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.96 KB | None | 0 0
  1. version: "3.6"
  2.  
  3. services:
  4.     server:
  5.         image: botpress/server:v12_19_1
  6.         volumes:
  7.            - data:/botpress/data
  8.         ports:
  9.            - 80:8081
  10.         environment:
  11.           - BP_PRODUCTION=true
  12.            - PORT=8080
  13.            - BP_CONFIG_HTTPSERVER_HOST=0.0.0.0
  14.            - NODE_ENV=production
  15.            - DATABASE_URL=postgres://root:pwd@pgsql:5432/db
  16.            - BPFS_STORAGE=database
  17.            - CLUSTER_ENABLED=false
  18.            - REDIS_URL=redis://redis:6379
  19.            - BP_MODULE_NLU_DUCKLINGURL=http://duckling:8000
  20.            - BP_MODULE_NLU_LANGUAGESOURCES=[{"endpoint":"http://duckling:3100"}]
  21.            - EXTERNAL_URL=https://dominio.que.usei.com
  22.     redis:
  23.       image: redis
  24.     duckling:
  25.       image: botpress/server:v12_19_1
  26.       command: bash -c "./duckling -p 8000 & ./bp lang --readOnly --langDir /botpress/lang --port 3100"
  27.       volumes:
  28.      - duckling:/botpress/lang
  29. volumes:
  30.   data:
  31.   duckling:
  32.    
Add Comment
Please, Sign In to add comment