Skip to content
Open

Merge #176

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions docker-compose.dokploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
services:
openwa:
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
expose:
- "2785"
ports:
- "2785:2785"
command: >
sh -c 'npx @open-wa/wa-automate@4.76.0
--port 2785
Comment on lines +12 to +13
--api-key "$$API_MASTER_KEY"
--webhook "https://citaapp.es/webhooks/openwa"
--session-id fisiodemo
Comment on lines +15 to +16
--use-chrome
--headless'
Comment on lines +11 to +18
environment:
NODE_ENV: production
PORT: 2785
LOG_LEVEL: info
API_MASTER_KEY: ${API_MASTER_KEY}
ENABLE_SWAGGER: "true"
volumes:
- openwa-data:/app/data
shm_size: "1gb"

dashboard:
build:
context: ./dashboard
dockerfile: Dockerfile
restart: unless-stopped
expose:
- "80"
Comment on lines +34 to +35
depends_on:
- openwa
Comment on lines +36 to +37

volumes:
openwa-data: