app starts

This commit is contained in:
counterweight 2025-10-16 09:50:36 +02:00
commit 36ca0e817a
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
9 changed files with 463 additions and 0 deletions

18
docker-compose.yml Normal file
View file

@ -0,0 +1,18 @@
services:
emergenciapablo:
build: .
container_name: emergenciapablo
ports:
- "3000:3000"
environment:
- NTFY_URL=${NTFY_URL}
- NTFY_USER=${NTFY_USER}
- NTFY_PASSWORD=${NTFY_PASSWORD}
- PORT=3000
restart: unless-stopped
healthcheck:
test: ["CMD", "node", "-e", "require('http').get('http://localhost:3000', (res) => { process.exit(res.statusCode === 200 ? 0 : 1) })"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s