baptisteArno / typebot.io

💬 Typebot is a powerful chatbot builder that you can self-host.

Home Page:https://typebot.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

typebot portainer

neurohost opened this issue · comments

Hello, I just installed Typebot in Portainer. The first email with the magic link doesn't arrive. I don't find any errors in the logs, and there are no errors in the Chrome console either.

I am attaching my docker-compose and env configuration.

docker compose

`services:
typebot-db:
image: postgres:14-alpine
container_name: typebot_db
restart: always
volumes:
- typebot_data:/var/lib/postgresql/data
environment:
- POSTGRES_DB=typebot
- POSTGRES_PASSWORD=123456789
ports:
- 5432:5432
networks:
- traefik

typebot-builder:
image: baptistearno/typebot-builder:latest
container_name: typebot_builder
restart: always
depends_on:
- typebot-db
ports:
- 8080:3000
# extra_hosts:
# - 'host.docker.internal:host-gateway'
env_file:
- stack.env
#- .env
networks:
- traefik
# labels:
# - "traefik.enable=true"
# - "traefik.docker.network=traefik"
# - "traefik.http.routers.typebot-builder.rule=Host(typebot.domain.com)"
# - "traefik.http.routers.typebot-builder.entrypoints=https"
# - "traefik.http.routers.typebot-builder.tls=true"
# - "traefik.http.routers.typebot-builder.service=typebot-builder"
# - "traefik.http.services.typebot-builder.loadbalancer.server.port=3000"
# - "traefik.http.middlewares.autodetect.contenttype=true"

typebot-viewer:
image: baptistearno/typebot-viewer:latest
container_name: typebot_viewer
restart: always
ports:
- 8081:3000
env_file:
- stack.env
#- .env
networks:
- traefik
# labels:
# - "traefik.enable=true"
# - "traefik.docker.network=traefik"
# - "traefik.http.routers.typebot-viewer.rule=Host(bot.domain.com)"
# - "traefik.http.routers.typebot-viewer.entrypoints=https"
# - "traefik.http.routers.typebot-viewer.tls=true"
# - "traefik.http.routers.typebot-viewer.service=typebot-viewer"
# - "traefik.http.services.typebot-viewer.loadbalancer.server.port=3000"
# - "traefik.http.middlewares.autodetect.contenttype=true"

volumes:
typebot_data:
#external: true

networks:
traefik:
external: true`

env

`
ENCRYPTION_SECRET=123456789
DATABASE_URL=postgresql://postgres:123456789@typebot_db:5432/typebot

NEXTAUTH_URL=https://typebot.domain.com
NEXT_PUBLIC_VIEWER_URL=https://bot.domain.com
NEXTAUTH_URL_INTERNAL=http://localhost:3000
HOSTNAME=0.0.0.0

ADMIN_EMAIL=info@domain.com

SIGNUP

DISABLE_SIGNUP=false

SMTP

NEXT_PUBLIC_SMTP_FROM="Typebot Notifications info@domain.com"
SMTP_HOST=mail.domain.com
SMTP_PORT=465
SMTP_USERNAME=info@domain.com
SMTP_PASSWORD=123456789
SMTP_SECURE=true
`

I am also using Traefik v3, but I get a MIME type error, so I disabled the labels to try using my IP:8080, but I still have the problem with the email; it doesn't arrive.

Sounds like not a bug with Typebot...

If you think it's a bug with Typebot, let us know how we could reproduce the issue on our end.