From be1931ed8e5afcc84fcd2661fe5017c5e2ee10b9 Mon Sep 17 00:00:00 2001 From: Donovan Daniels Date: Wed, 8 May 2024 21:10:00 -0500 Subject: [PATCH] Add `restart: unless-stopped` to compose files --- docker-compose.prod.yml | 1 + docker-compose.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index d9955c7..05bc6b0 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -8,6 +8,7 @@ services: context: . image: websites4 command: foreman start -f Procfile + restart: unless-stopped volumes: - .:/app - /var/www/e621-thumbnails:/data/e621-thumbnails diff --git a/docker-compose.yml b/docker-compose.yml index b5ac1b2..c241def 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,6 +5,7 @@ services: websites: build: . image: websites4 + restart: unless-stopped volumes: - .:/app - e621_thumbnail_data:/data/e621-thumbnails