commit | acd1684a352e7c2c40b22f1b0110b3819ed2cd0f | [log] [tgz] |
---|---|---|
author | alshabib <alshabibi.ali@gmail.com> | Fri Jun 17 14:31:38 2016 -0700 |
committer | alshabib <alshabibi.ali@gmail.com> | Fri Jun 17 14:31:38 2016 -0700 |
tree | 4c5723fba2ee2f5783d3892cf6f7062d973e8fba | |
parent | f751d346bb8b746a81212576990d8d2c2b761bcd [diff] |
adding restart policy to docker compose Change-Id: I44655f864e571e61e91f923c7f907c5a23c3b860
diff --git a/roles/mavenrepo/templates/mavenrepo.yml.j2 b/roles/mavenrepo/templates/mavenrepo.yml.j2 index 8195635..d2ab5ed 100644 --- a/roles/mavenrepo/templates/mavenrepo.yml.j2 +++ b/roles/mavenrepo/templates/mavenrepo.yml.j2
@@ -3,3 +3,4 @@ container_name: mavenrepo ports: - "8080:80" + restart: unless-stopped