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: services:
proxy: proxy:
container_name: rev-proxy container_name: rev-proxy
restart: unless-stopped
build: ./ build: ./
networks: networks:
- blog - blog

View File

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