# Dicas problemas de configurações

LInk: [https://github.com/baptisteArno/typebot.io/issues/942](https://github.com/baptisteArno/typebot.io/issues/942)

Procedimentos extraídos de listas do typebot sobre dificuldades de instalações.

#### <bdi class="js-issue-title markdown-title">Cannot get SMTP config to send email</bdi> <span class="f1-light color-fg-muted">\#942</span>

<div id="bkmrk-baptistearno%C2%A0comment" style="text-align: justify;">**[baptisteArno](https://github.com/baptisteArno)** commented [on Oct 17, 2023](https://github.com/baptisteArno/typebot.io/issues/942#issuecomment-1766460032) <span class="js-comment-edit-history"><span class="d-inline-block color-fg-muted">•</span> </span></div><div id="bkmrk-" style="text-align: justify;"></div><div id="bkmrk-probably-an-issue-wi" style="text-align: justify;">Probably an issue with the single quote on `NEXT_PUBLIC_SMTP_FROM`</div>My config with Sendinblue:

```
SMTP_USERNAME=baptiste@typebot.io
SMTP_PASSWORD=...
SMTP_HOST=smtp-relay.sendinblue.com
SMTP_PORT=587
NEXT_PUBLIC_SMTP_FROM="'Typebot Notifications' <notifications@typebot.io>"
```

**[MAS-CreativeLabs](https://github.com/MAS-CreativeLabs)** commented [on Nov 12, 2023](https://github.com/baptisteArno/typebot.io/issues/942#issuecomment-1807079668)

I apologize for the delayed reply, I was on a trip. her's my configuration: I'm hosting typebot on a Synology NAS with a reverse proxy (the same exact test machine I use for all my docker in my testing environment. I used portainer for the deployment of typebot and I followed the instructions from the official documentation.

##### Docker compose file :

`version: '3.3'

volumes:  
db-data:

services:  
typebot-db:  
image: postgres:14-alpine  
restart: always  
volumes:  
\- db-data:/var/lib/postgresql/data

```
environment:
  - POSTGRES_DB=typebot
  - POSTGRES_PASSWORD=typebot
```

<div class="snippet-clipboard-content notranslate position-relative overflow-auto" id="bkmrk--1" style="text-align: justify;"><div class="zeroclipboard-container position-absolute right-0 top-0"><svg aria-hidden="true" class="octicon octicon-copy js-clipboard-copy-icon m-2" data-view-component="true" height="16" version="1.1" viewbox="0 0 16 16" width="16"><path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path></svg></div></div>typebot-builder:  
image: baptistearno/typebot-builder:latest  
restart: always  
depends\_on:  
\- typebot-db  
ports:  
\- '8080:3000'  
extra\_hosts:  
\- 'host.docker.internal:host-gateway'  
env\_file: stack.env

typebot-viewer:  
image: baptistearno/typebot-viewer:latest  
restart: always  
ports:  
\- '8081:3000'  
env\_file: stack.env`

### .env file:

`ENCRYPTION\_SECRET=XXXXXXXXXXXXXXXXXXXXXXXXX

DATABASE\_URL=postgresql://postgres:typebot@typebot-db:5432/typebot

NEXTAUTH\_URL=[https://typebot.mydonmain.com](https://typebot.mydonmain.com/)

NEXT\_PUBLIC\_VIEWER\_URL=[https://bot.mydonmain.com](https://bot.mydonmain.com/)

ADMIN\_EMAIL=<XXXXX@gmail.com>

NEXTAUTH\_URL\_INTERNAL=[http://localhost:3000](http://localhost:3000/)

DEFAULT\_WORKSPACE\_PLAN=UNLIMITED

DISABLE\_SIGNUP=false

NEXT\_PUBLIC\_BOT\_FILE\_UPLOAD\_MAX\_SIZE=250

SMTP\_USERNAME=<XXXXX@XXXXX.com>

SMTP\_PASSWORD=XXXXXXXXXXXXXXXXXXXX

SMTP\_HOST=ssl0.ovh.net

SMTP\_PORT=465

SMTP\_SECURE=true

NEXT\_PUBLIC\_SMTP\_FROM="'Typebot Notifications' <XXXXX@XXXXX.com>"

GOOGLE\_CLIENT\_ID=XXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.apps.googleusercontent.com

GOOGLE\_CLIENT\_SECRET=XXXXX-XXXXXXXXXX\_XXXXX

GITHUB\_CLIENT\_ID=XXXXXXXXXXXXXXXXXXXXXXXXX

GITHUB\_CLIENT\_SECRET=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

FACEBOOK\_CLIENT\_ID=XXXXXXXXXXXXXXXXXXXX

FACEBOOK\_CLIENT\_SECRET=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

NEXT\_PUBLIC\_GIPHY\_API\_KEY=XXXXXXXXXXXXXXXXXXXXXXXXX

NEXT\_PUBLIC\_UNSPLASH\_APP\_NAME=Typebot

NEXT\_PUBLIC\_UNSPLASH\_ACCESS\_KEY=XXXXXXXXXXXXXXXXXXXXXXXXX

**Obs: Para funcionar no laboratório nestas configurações foi apontado o NEXTAUTH\_URL e NEXT\_PUBLIC\_VIEWER\_URL para o mesmo endereço de viewer.**