mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-04 20:05:16 +02:00
feat(gateway): add self-hosted WhatsApp bridge service
This commit is contained in:
parent
63f9fe61b5
commit
76a594ac60
4 changed files with 2443 additions and 0 deletions
15
surfsense_backend/scripts/whatsapp-bridge/Dockerfile
Normal file
15
surfsense_backend/scripts/whatsapp-bridge/Dockerfile
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
FROM node:20-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json ./
|
||||
RUN npm ci --silent
|
||||
|
||||
COPY . .
|
||||
|
||||
ENV WHATSAPP_SESSION_DIR=/data/sessions
|
||||
EXPOSE 3000
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=5s CMD wget -qO- http://127.0.0.1:3000/health || exit 1
|
||||
|
||||
CMD ["node", "bridge.js"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue