botpress/botpress

Error with Botpress repository

Closed this issue · 1 comments

Make sure the issue is related to code located in this repository.

  • I confirm that the reported bug or feature request is not related to Botpress on premise version (v12 and below)
  • I confirm that the reported bug or feature request is not related to the Botpress Studio
  • I confirm that the reported bug or feature request is not related to the Botpress Dashboard

Description of the bug or feature request

Good morning,
I'm trying to run Botpress on my VPS server together with Typebot, I'm using Docker with Portainer and Traefik to run the application, before creating the stack for the project, I created a network for Botpress and added Traefik to that network, but when I have to deploy the stack and it tells me an error code (attached to the message)
I'm using a Linux system with Ubuntu 22.04, Docker 25.0.4 and Docker Compose v2.24.7, I installed Portainer and Traefik via SSH terminal.
I tried to install Botpress within WSL on my computer and the same problem ended up occurring, I would like to know if someone could help me resolve this.
Thank you in advance for any help you give me, the code i am using and the error message are attached bellow.

Screenshot 2024-03-19 140916

`version: '3'

services:
botpress:
image: botpress/server
command: /botpress/bp
expose:
- 3000
environment:
- DATABASE_URL=postgres://postgres:secretpw@postgres:5435/botpress_db
- REDIS_URL=redis://redis:6379?password=redisPassword
- BP_MODULE_NLU_DUCKLINGURL=http://botpress_lang:8000
- BP_MODULE_NLU_LANGUAGESOURCES=[{"endpoint":"http://botpress_lang:3100"}]
- CLUSTER_ENABLED=true
- BP_PRODUCTION=true
- BPFS_STORAGE=database
depends_on:
- botpress_lang
- postgres
- redis
volumes:
- botpress_data:/botpress/data
labels:
- "traefik.enable=true"
- "traefik.http.routers.botpress.rule=Host(botpress.meusite.com) || Host(www.botpress.meusite.com)" #troque pelo seu dominio
- "traefik.http.routers.botpress.entrypoints=websecure"
- "traefik.http.routers.botpress.tls=true"
- "traefik.http.routers.botpress.tls.certresolver=leresolver"

botpress_lang:
image: botpress-lang
command: bash -c "./duckling -p 8000 & ./bp lang --langDir /botpress/lang --port 3100"
expose:
- 3100
- 8000
volumes:
- ./botpress/language:/botpress/lang

postgres:
image: postgres:11.2-alpine
expose:
- 5435
environment:
PGPORT: 5435
POSTGRES_DB: botpress_db
POSTGRES_PASSWORD: secretpw
POSTGRES_USER: postgres
volumes:
- pgdata:/var/lib/postgresql/data

redis:
image: redis:5.0.5-alpine
expose:
- 6379
command: redis-server --requirepass redisPassword
volumes:
- redisdata:/data

volumes:
botpress_data:
pgdata:
redisdata:

networks:
default:
name: botpress
external: true`

Hi @TechleadFabricandosuaideia, I believe you are referring to botpress v12.

We moved the v12 codebase in this repo.

The current repo now contains the code of our new cloud product. You can check it out here.

I'll close the issue for now, please re-open it on the v12 repo.

Frank