Skip to content

Commit

Permalink
Merge pull request #332 from NOAA-OWP/autoRestart
Browse files Browse the repository at this point in the history
Adding auto restart to nginx and cadvisor
  • Loading branch information
epag authored Oct 8, 2024
2 parents 2091574 + d942ef9 commit 574dd54
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compose-entry.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ services:
nginx:
image: "${DOCKER_REGISTRY}/wres/nginx"
container_name: nginx_proxy
restart: always
volumes:
- ${NGINX_SERVER_CERT}:/etc/nginx/cert/wres_server_cert.pem
- ${NGINX_SERVER_KEY}:/etc/nginx/cert/wres_server_key.pem
Expand All @@ -30,6 +31,7 @@ services:
cadvisor:
image: gcr.io/cadvisor/cadvisor:latest
container_name: cadvisor
restart: always
ports:
- 8080:8080
volumes:
Expand Down
2 changes: 2 additions & 0 deletions compose-workers.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ services:
nginx:
image: "${DOCKER_REGISTRY}/wres/nginx"
container_name: nginx_proxy
restart: always
volumes:
- ${NGINX_SERVER_CERT}:/etc/nginx/cert/wres_server_cert.pem
- ${NGINX_SERVER_KEY}:/etc/nginx/cert/wres_server_key.pem
Expand All @@ -30,6 +31,7 @@ services:
cadvisor:
image: gcr.io/cadvisor/cadvisor:latest
container_name: cadvisor
restart: always
ports:
- 8080:8080
volumes:
Expand Down

0 comments on commit 574dd54

Please sign in to comment.