- Added functionality to resolve image references with digests, improving the rollback process in the updater script. - Updated health check URLs in targets.json.example to use service names instead of localhost, ensuring proper connectivity in containerized environments.
25 lines
562 B
JSON
25 lines
562 B
JSON
{
|
|
"targets": [
|
|
{
|
|
"id": "backend",
|
|
"container_name": "mmapp-backend",
|
|
"image": "git.shts.su/denozord/mikrotikmanager-backend:latest",
|
|
"health": {
|
|
"type": "http",
|
|
"url": "http://backend:8000/health",
|
|
"expect_status": 200
|
|
}
|
|
},
|
|
{
|
|
"id": "frontend",
|
|
"container_name": "mmapp-frontend",
|
|
"image": "git.shts.su/denozord/mikrotikmanager-frontend:latest",
|
|
"health": {
|
|
"type": "http",
|
|
"url": "http://frontend:3000/",
|
|
"expect_status": 200
|
|
}
|
|
}
|
|
]
|
|
}
|