Initial commit
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user