Skip to content

Commit 671492a

Browse files
committed
Change restart option
1 parent 2420f41 commit 671492a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services:
55
labels:
66
com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true"
77
container_name: ${NGINX_WEB}
8-
restart: unless-stopped
8+
restart: always
99
ports:
1010
- "${IP}:80:80"
1111
- "${IP}:443:443"
@@ -19,7 +19,7 @@ services:
1919
image: jwilder/docker-gen
2020
command: -notify-sighup ${NGINX_WEB} -watch -wait 5s:30s /etc/docker-gen/templates/nginx.tmpl /etc/nginx/conf.d/default.conf
2121
container_name: ${DOCKER_GEN}
22-
restart: unless-stopped
22+
restart: always
2323
volumes:
2424
- ${NGINX_FILES_PATH}/conf.d:/etc/nginx/conf.d
2525
- ${NGINX_FILES_PATH}/vhost.d:/etc/nginx/vhost.d
@@ -31,7 +31,7 @@ services:
3131
nginx-letsencrypt:
3232
image: jrcs/letsencrypt-nginx-proxy-companion
3333
container_name: ${LETS_ENCRYPT}
34-
restart: unless-stopped
34+
restart: always
3535
volumes:
3636
- ${NGINX_FILES_PATH}/conf.d:/etc/nginx/conf.d
3737
- ${NGINX_FILES_PATH}/vhost.d:/etc/nginx/vhost.d

0 commit comments

Comments
 (0)