Adding restart to blog and rev-proxy.

This commit is contained in:
Colin Diem
2022-03-15 20:34:42 -04:00
parent fb19b27552
commit a0a2c8e024
2 changed files with 2 additions and 0 deletions

View File

@@ -2,6 +2,7 @@ version: '2'
services:
proxy:
container_name: rev-proxy
restart: unless-stopped
build: ./
networks:
- blog

View File

@@ -3,6 +3,7 @@ version: "3.3"
services:
blog:
container_name: blog
restart: unless-stopped
image: nginx:1.16.0-alpine
volumes:
- "./public:/usr/share/nginx/html/"