From cef5e1f0f5fc35a767bee77ebc15cdf85a0a2286 Mon Sep 17 00:00:00 2001 From: bonamin Date: Mon, 21 Sep 2026 18:36:20 +0300 Subject: [PATCH] chore(docker): restart backend, frontend, and nginx unless stopped MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Matches postgres, which already had restart: unless-stopped — the app containers were the only ones that didn't come back automatically after a host reboot or Docker Desktop restart. Co-Authored-By: Claude Sonnet 5 --- docker-compose.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 6f75280..57566ca 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,6 +2,7 @@ services: backend: build: ./backend container_name: bellsystems-backend + restart: unless-stopped env_file: .env volumes: - ./backend:/app @@ -22,12 +23,14 @@ services: frontend: build: ./frontend container_name: bellsystems-frontend + restart: unless-stopped networks: - internal nginx: image: nginx:alpine container_name: bellsystems-nginx + restart: unless-stopped ports: - "90:80" # access v2 on localhost:8001 volumes: