From fb1bdbd182f66c68cdd377e8c534c03f11af82f0 Mon Sep 17 00:00:00 2001 From: Kerboul Date: Mon, 31 Mar 2025 09:48:04 +0200 Subject: [PATCH] =?UTF-8?q?Ajouter=20une=20commande=20pour=20d=C3=A9marrer?= =?UTF-8?q?=20le=20serveur=20avec=20pm2-runtime,=20incluant=20la=20surveil?= =?UTF-8?q?lance=20et=20un=20d=C3=A9lai=20de=20red=C3=A9marrage.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.yml b/docker-compose.yml index a38151d..843d7f4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,6 +14,7 @@ services: - NODE_VERSION=22.9.0 - YARN_VERSION=1.22.22 working_dir: /backend + command: ["pm2-runtime", "start", "server.js", "--watch", "--restart-delay", "10000"] restart: always networks: - bridge