Initial commit

This commit is contained in:
2026-05-28 11:11:27 +02:00
commit d8a626f6c3
8 changed files with 514 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
services:
whatsapp-reminder:
build: .
container_name: whatsapp-reminder
restart: unless-stopped
ports:
- "3001:3000"
volumes:
- ./data:/app/data # WhatsApp-Session (bleibt nach Neustart erhalten)
- ./config:/app/config # contacts.json + settings.json
environment:
- TZ=Europe/Zurich
healthcheck:
test: ["CMD", "node", "-e", "require('http').get('http://localhost:3000/status', r => process.exit(r.statusCode === 200 ? 0 : 1)).on('error', () => process.exit(1))"]
interval: 60s
timeout: 10s
retries: 3
start_period: 60s