Add be9700-api: TP-Link BE9700 router API proxy + Scalar docs
This commit is contained in:
24
apps/be9700-api/docker-compose.json
Normal file
24
apps/be9700-api/docker-compose.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"$schema": "https://schemas.runtipi.io/dynamic-compose.json",
|
||||
"schemaVersion": 2,
|
||||
"services": [
|
||||
{
|
||||
"name": "be9700-api",
|
||||
"image": "git.alexzaw.dev/alexz/be9700-api:1.0.0",
|
||||
"isMain": true,
|
||||
"internalPort": 3000,
|
||||
"environment": [
|
||||
{ "key": "PORT", "value": "3000" },
|
||||
{ "key": "TZ", "value": "${TZ}" },
|
||||
{ "key": "NODE_ENV", "value": "production" }
|
||||
],
|
||||
"healthCheck": {
|
||||
"test": "wget -qO- http://127.0.0.1:3000/ >/dev/null 2>&1 || exit 1",
|
||||
"interval": "30s",
|
||||
"timeout": "5s",
|
||||
"retries": 3,
|
||||
"startPeriod": "15s"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user