Files
runtipi/apps/be9700-api/docker-compose.json

25 lines
641 B
JSON

{
"$schema": "https://schemas.runtipi.io/dynamic-compose.json",
"schemaVersion": 2,
"services": [
{
"name": "be9700-api",
"image": "git.alexzaw.dev/alexz/be9700-api:1.1.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"
}
}
]
}