-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
22 lines (17 loc) · 805 Bytes
/
Copy path.env.example
File metadata and controls
22 lines (17 loc) · 805 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copie para .env e preencha. O .env nunca entra no Git.
# Credenciais OAuth2 do Bling
# Obtidas em: Bling > Configuracoes > API > Meus Aplicativos
BLING_CLIENT_ID=seu_client_id_aqui
BLING_CLIENT_SECRET=seu_client_secret_aqui
# Tokens OAuth2
# access_token: opcional; vazio faz a API renovar pelo refresh_token
# refresh_token: obtido junto com o access_token, usado para renovar
BLING_ACCESS_TOKEN=
BLING_REFRESH_TOKEN=seu_refresh_token_aqui
# false impede que a API regrave o .env local ao renovar os tokens
BLING_SYNC_ENV=true
# Chave que o chatbot envia no header X-API-Key.
# Gere uma forte: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
API_SECRET_KEY=gere_uma_chave_aleatoria_forte_aqui
# Porta do servidor (Railway e Render injetam PORT automaticamente)
PORT=3000