mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-25 10:25:01 +00:00
chore: prepare for docker support
This commit is contained in:
parent
9d63167ad2
commit
710e95695f
5 changed files with 0 additions and 65 deletions
|
@ -1,12 +0,0 @@
|
|||
{
|
||||
"apps": [
|
||||
{
|
||||
"name": "airship-api",
|
||||
"cwd": "./backend",
|
||||
"script": "npm",
|
||||
"args": "run start-api-prod",
|
||||
"log_date_format": "YYYY-MM-DD HH:mm:ss.SSS",
|
||||
"exp_backoff_restart_delay": 2500
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
{
|
||||
"apps": [
|
||||
{
|
||||
"name": "airship-bot",
|
||||
"cwd": "./backend",
|
||||
"script": "npm",
|
||||
"args": "run start-bot-prod",
|
||||
"log_date_format": "YYYY-MM-DD HH:mm:ss.SSS",
|
||||
"exp_backoff_restart_delay": 2500
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Run hotfix update
|
||||
cd backend
|
||||
git pull
|
||||
npm run build
|
||||
|
||||
# Restart processes
|
||||
cd ..
|
||||
nvm use
|
||||
pm2 restart process-bot.json
|
||||
pm2 restart process-api.json
|
|
@ -1,19 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Stop current processes
|
||||
pm2 delete process-bot.json
|
||||
pm2 delete process-api.json
|
||||
|
||||
# Run update
|
||||
git pull
|
||||
npm ci
|
||||
|
||||
cd backend
|
||||
npm ci
|
||||
npm run build
|
||||
npm run migrate-prod
|
||||
|
||||
# Start processes again
|
||||
cd ..
|
||||
pm2 start process-bot.json
|
||||
pm2 start process-api.json
|
|
@ -1,10 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Update dashboard
|
||||
cd dashboard
|
||||
git pull
|
||||
npm ci
|
||||
npm run build
|
||||
|
||||
# Return
|
||||
cd ..
|
Loading…
Add table
Add a link
Reference in a new issue