Add restart: unless-stopped to compose files

This commit is contained in:
Donovan Daniels 2024-05-08 21:10:00 -05:00
parent f521322783
commit be1931ed8e
Signed by: Donovan_DMC
GPG Key ID: 907D29CBFD6157BA
2 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,7 @@ services:
context: . context: .
image: websites4 image: websites4
command: foreman start -f Procfile command: foreman start -f Procfile
restart: unless-stopped
volumes: volumes:
- .:/app - .:/app
- /var/www/e621-thumbnails:/data/e621-thumbnails - /var/www/e621-thumbnails:/data/e621-thumbnails

View File

@ -5,6 +5,7 @@ services:
websites: websites:
build: . build: .
image: websites4 image: websites4
restart: unless-stopped
volumes: volumes:
- .:/app - .:/app
- e621_thumbnail_data:/data/e621-thumbnails - e621_thumbnail_data:/data/e621-thumbnails