mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-10 00:15:28 +02:00
* feat: add Velix API one-click template Self-hosted WhatsApp API with multi-instance support, webhooks, n8n node, and Chatwoot integration. Includes PostgreSQL 16 and Redis 7. * fix: use standard port integer literal
44 lines
983 B
YAML
44 lines
983 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
velix-api:
|
|
image: ghcr.io/paulolinder/velix-api:0.1.0
|
|
restart: always
|
|
environment:
|
|
- DATABASE_URL=postgres://postgres:${DB_PASSWORD}@postgres:5432/velix?sslmode=disable
|
|
- REDIS_URL=redis://redis:6379
|
|
- JWT_SECRET=${JWT_SECRET}
|
|
- HTTP_PORT=8080
|
|
- APP_ENV=production
|
|
- LOG_LEVEL=info
|
|
- MEDIA_STORAGE_PATH=/data/media
|
|
- ENGINE_STORE_PATH=/data/instances
|
|
- ENGINE_AUTO_RECONNECT=true
|
|
- ENGINE_MAX_INSTANCES=200
|
|
- REGISTRATION_ENABLED=false
|
|
volumes:
|
|
- velix-data:/data
|
|
depends_on:
|
|
- postgres
|
|
- redis
|
|
|
|
postgres:
|
|
image: postgres:16-alpine
|
|
restart: always
|
|
environment:
|
|
- POSTGRES_DB=velix
|
|
- POSTGRES_PASSWORD=${DB_PASSWORD}
|
|
volumes:
|
|
- postgres-data:/var/lib/postgresql/data
|
|
|
|
redis:
|
|
image: redis:7-alpine
|
|
restart: always
|
|
volumes:
|
|
- redis-data:/data
|
|
|
|
volumes:
|
|
velix-data:
|
|
postgres-data:
|
|
redis-data:
|