From 71e98b522646993edebec09d32369fa1c946c451 Mon Sep 17 00:00:00 2001 From: HIBOBO <125913838+H1B0B0@users.noreply.github.com> Date: Sat, 17 Feb 2024 16:35:35 +0100 Subject: [PATCH] Update docker-compose.yml --- docker-compose.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 019f838..bf2af98 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,7 @@ version: "3" services: traefik: + restart: always image: traefik container_name: traefik command: @@ -23,6 +24,7 @@ services: - web mongodb: + restart: always image: mongo:4.2.19 container_name: mongodb ports: @@ -39,6 +41,7 @@ services: - web backend: + restart: always container_name: backend image: node:21 working_dir: /backend @@ -61,6 +64,7 @@ services: - 4000:4000 frontend: + restart: always container_name: frontend depends_on: - traefik