-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathserverless_sample.yml
More file actions
36 lines (32 loc) · 979 Bytes
/
serverless_sample.yml
File metadata and controls
36 lines (32 loc) · 979 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
service: clienteschat
frameworkVersion: '3'
provider:
name: aws
runtime: python3.9
region: eu-west-3
functions:
bot:
handler: bot.hello_http
events:
- httpApi:
path: /
method: post
environment:
SAC_CHANNEL:
SAC_GROUP:
MONGO_CON:
BOT_USERNAME:
TOKEN: ${env:TOKEN}
WEBHOOK: ${env:WEBHOOK}
END_MSG: 🔲 <b>Atendimento encerrado.</b><br>Envie /start para começar um novo atendimento.
LOG_DAYS: 14
NOTIFY_ADMINS: 1
RESTART_MSG: Mensagem enviada. ✅<br>Te responderemos em breve.
START_MSG: Olá, <b>{0}</b>!<br>Por favor, envie seu relato de forma objetiva e resumida.<br>Se necessário, inclua prints de tela.<br>Te responderemos em breve. ✅<br><br><a href="https://clientes.chat">Quer um bot igual a este? Clique aqui!</a>
WEBHOOK: True
plugins:
- serverless-python-requirements
custom:
pythonRequirements:
dockerizePip: false
usePipenv: false