2.0-rewrite #2

Merged
ChrisChrome merged 14 commits from 2.0-rewrite into main 2025-01-25 12:06:49 -07:00
2 changed files with 17 additions and 1 deletions
Showing only changes of commit 14435d2345 - Show all commits

15
docker-compose.yml Normal file
View file

@ -0,0 +1,15 @@
services:
nodejs:
image: node:latest
container_name: nodejs_app
network_mode: host
restart: on-failure
deploy:
restart_policy:
condition: on-failure
max_attempts: 3
window: 3600s
volumes:
- .:/app
working_dir: /app
command: sh -c "npm install && npm start"

View file

@ -4,7 +4,8 @@
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node index.js"
},
"author": "",
"license": "ISC",