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.
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.
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:
traefik
typebot-builder: image: baptistearno/typebot-builder:latest container_name: typebot_builder restart: always depends_on:
extra_hosts:
- 'host.docker.internal:host-gateway'
env_file:
- .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:
- .env
networks:
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.