Communications platform that puts data protection first (alternative to Gitter.im and Slack). ).
OpenWA
MIT Docker Ready ★ 17,496 Stars Active · 2026-11-28WhatsApp API gateway exposing messaging as REST endpoints, with a web dashboard, multi-account sessions, and webhook events (alternative to WhatsApp Business API providers). , Clients).
- Tech Stack / Runtime
- Docker · TypeScript
- Open-Source License
- MIT
- GitHub Health
- ★ 17,496 · 4,087 forks
Quick Docker Compose Reference for OpenWA
# OpenWA - Docker Compose Configuration
# Smart Orchestration with Profiles
services:
# ===== OPTIONAL: Docker Socket Proxy (sole container with /var/run/docker.sock access) =====
# Opt-in via `--profile docker-proxy` (and set DOCKER_HOST=tcp://docker-proxy:2375 in .env).
# Omitted from default `docker compose up` so deployments that do not use Dashboard > Infrastructure
# built-in datastore orchestration never expose a Docker API proxy to the application container.
docker-proxy:
# Pinned by release tag and digest: this container holds the Docker socket, so a re-pushed tag
# must not change what runs here.
image: tecnativa/docker-socket-proxy:3.4@sha256:027f9fa5ee70be5836eeaa10ce889d7a83f34a8db16a7f412818b92997e0beab
container_name: openwa-docker-proxy
profiles: ['docker-proxy']
restart: unless-stopped
security_opt:
- 'no-new-privileges:true'
cap_drop:
- ALL
read_only: true
tmpfs:
- /tmp
- /run
mem_limit: 128m
pids_limit: 64
# Only on the isolated internal network, reachable solely by openwa-api (including any
# plugin loaded into it), NOT the dashboard or any other peer. `internal: true` also denies the proxy
# outbound access; it only needs the locally-mounted docker socket.
networks:
- internal-docker
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
# Minimal set that keeps DockerService (src/modules/docker/docker.service.ts) working:
# PING (health), CONTAINERS (list/inspect/create/start/stop),
# IMAGES (pull), VOLUMES (createVolume). POST is the proxy's single all-or-nothing
# method gate for non-GET requests (haproxy.cfg: `deny unless METH_GET || env(POST)`).
# Two consequences of the pinned proxy config, accepted and documented in SECURITY.md:
# - its `DELETE` env flag is dead config (never read), so it is not set here; DELETE is
# admitted to enabled paths as a side effect of POST; OpenWA itself never issues
# deletes (profile teardown is stop-only, see DockerService.stopManagedService).
# - the proxy cannot scope container-create payloads, so a compromised API container
# could create containers with host bind-mounts. Leave the docker-proxy profile off
# unless you actively use Dashboard > Infrastructure built-in datastore orchestration.
CONTAINERS: 1
IMAGES: 1
VOLUMES: 1
PING: 1
POST: 1
# Everything else is denied by default (AUTH, SECRETS, NETWORKS, PLUGINS, SWARM, TASKS, SERVICES, CONFIGS, NODES, DISTRIBUTIONS)
labels:
- 'com.openwa.service=docker-proxy'
- 'com.openwa.core=true'
# ===== CORE: OpenWA Backend API =====
openwa-api:
build:
context: .
dockerfile: Dockerfile
container_name: openwa-api
restart: unless-stopped
# Give the ordered teardown room to finish before Docker SIGKILLs the container, which would cut
# Chromium, the usage flush and the database close short. Bounded stages in order: drain 3s
# (SHUTDOWN_DELAY_MS) + ingress reconciler 5s + engines 10s + kept message changes 1s + auto-start
# wait 5s + bulk batch drain 5s + maintenance prune/index waits 4s + storage fallback sync drain 1s
# + webhook drain 5s (WEBHOOK_SHUTDOWN_DRAIN_MS) + usage flush 5s = 44s. An enabled plugin adds 10s.
# QUEUE_ENABLED and REDIS_ENABLED add 22s (worker close 10s, producer queue close 2s for each of two
# queues, four Redis quits 2s each): 76s worst case. The process force-exits 82s after the drain and 5s before
# this deadline. Raising SHUTDOWN_DELAY_MS or WEBHOOK_SHUTDOWN_DRAIN_MS moves that exit later by the
# same amount, so raise this by the same amount too. The session count does not add: engines stop
# in parallel.
stop_grace_period: 90s
# App network for datastores + the isolated network to reach
# docker-proxy (DOCKER_HOST). createService() in docker.service.ts attaches
# orchestrated containers to the literal `openwa-network`, so its name is fixed.
networks:
- openwa-network
- internal-docker
# Container hardening: Chromium runs with --no-sandbox, so the
# container itself is the confinement boundary. cap_drop ALL + a minimal re-add
# for root entrypoint ownership, the gosu drop and init signal forwarding. Once gosu setuids to
# the openwa user the node/Chromium process keeps NO effective capabilities.
# read_only rootfs (Chromium's profile lives on the writable /app/data volume;
# HOME=/tmp + tmpfs absorb stray writes). no-new-privileges blocks setuid escalation.
security_opt:
# ... (see full file in official GitHub repository) OpenWA System Requirements & Self-Hosting Guide
Deploy OpenWA (1 – 2 GB RAM) →Recommended VPS
1 – 2 GB RAM
1 – 2 vCPU · $4 – $6/mo VPS
Deployment Method
Beginner-Friendly
Docker / Docker Compose (Recommended)
Commercial Use (MIT)
Yes — free for personal, internal company, and commercial use with attribution.
Maintenance Status
Active
Last commit: 2026-11-28
Frequently Asked Questions about OpenWA
Is OpenWA free to self-host for commercial use?
OpenWA is released under the MIT license. Yes — free for personal, internal company, and commercial use with attribution. It has 17,496 GitHub stars and was last updated on 2026-11-28.
What VPS specifications do I need to self-host OpenWA?
Based on its Docker runtime and Communication - Custom Communication Systems workload, we recommend at least 1 – 2 GB RAM and 1 – 2 vCPU (typically $4 – $6/mo VPS).
Does OpenWA support Docker deployment?
Yes — OpenWA supports Docker / Docker Compose (Recommended), making it beginner-friendly to spin up on any Linux VPS.
Deploy OpenWA on your own VPS
Run OpenWA privately with full data control. Recommended starting footprint: 1 – 2 GB RAM ($4 – $6/mo VPS).
Best Value · 1-Click Docker
1 vCPU · 4 GB RAM · 50 GB NVMe
Includes built-in Docker & Coolify templates — ideal for beginners.
Lowest Cost / Performance
2 vCPU · 4 GB RAM · 40 GB NVMe
Unbeatable EU/US cloud pricing for high-traffic self-hosted stacks.
$200 Free Credit
1 vCPU · 1 GB RAM · 25 GB SSD
Clean developer UX with 1-click Marketplace Docker droplets.
More Open-Source Communication - Custom Communication Systems
View all →Notification infrastructure for developers. .
Push notifications to phone or desktop using HTTP PUT/POST, with Android app, CLI and web app, similar to Pushover and Gotify. , Source Code, Clients.
Most private and secure chat and applications platform - now with double ratchet E2E encryption.
Apprise allows you to send a notification to almost all of the most popular notification services available to us today such as: Telegram, Discord, Slack, Amazon SNS, Gotify, etc.