Adding restart to blog and rev-proxy.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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/"
|
||||||
|
|||||||
Reference in New Issue
Block a user