-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwaha-stack.yml
More file actions
35 lines (31 loc) · 1015 Bytes
/
waha-stack.yml
File metadata and controls
35 lines (31 loc) · 1015 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
version: '3.7'
services:
waha:
container_name: waha
image: devlikeapro/waha
volumes:
- waha_data:/tmp # Criar o volume no portainer.
environment:
- WHATSAPP_DEFAULT_ENGINE=NOWEB
- WHATSAPP_HOOK_EVENTS=message
- WHATSAPP_HOOK_URL=https://webhook.cdnssystems.com.br
networks:
- n8ncdnssystemsnet
deploy:
labels:
- "traefik.enable=true"
- "traefik.http.routers.waha.rule=Host(`waha.cdnssystems.com.br`)"
- "traefik.http.routers.waha.entrypoints=websecure"
- "traefik.http.services.waha.loadbalancer.server.port=3000"
- "traefik.http.routers.waha.tls.certresolver=letsencryptresolver"
replicas: 1
restart_policy:
condition: on-failure
networks:
n8ncdnssystemsnet:
external: true
volumes:
waha_data:
external: true
name: waha_data # Criar o volume no portainer.
# Este arquivo é um exemplo de configuração do docker-compose para o Waha e o n8n para utilizar na VPS com Orion.