app starts
This commit is contained in:
commit
36ca0e817a
9 changed files with 463 additions and 0 deletions
18
docker-compose.yml
Normal file
18
docker-compose.yml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue