diff --git a/docker-compose.yml b/docker-compose.yml index 1f63b04..41aa374 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -31,6 +31,12 @@ services: options: max-size: "10m" max-file: "3" + healthcheck: + test: ["CMD", "node", "-e", "fetch('http://localhost:3100/health').then(r=>{if(!r.ok)process.exit(1)}).catch(()=>process.exit(1))"] + interval: 30s + timeout: 5s + retries: 3 + start_period: 30s mem_limit: 2560m cpus: 1.5 diff --git a/public/index.html b/public/index.html index ed65055..c2c94c7 100644 --- a/public/index.html +++ b/public/index.html @@ -17,7 +17,7 @@