always restart acng and registry containers when docker restarts

This commit is contained in:
Jason Ertel
2020-06-02 09:12:25 -04:00
parent 07c0075fc0
commit 42683ddb67
2 changed files with 2 additions and 0 deletions

View File

@@ -61,6 +61,7 @@ so-aptcacherng:
docker_container.running:
- image: {{ MASTER }}:5000/soshybridhunter/so-acng:{{ VERSION }}
- hostname: so-acng
- restart_policy: always
- port_bindings:
- 0.0.0.0:3142:3142
- binds:

View File

@@ -42,6 +42,7 @@ so-dockerregistry:
docker_container.running:
- image: registry:2
- hostname: so-registry
- restart_policy: always
- port_bindings:
- 0.0.0.0:5000:5000
- binds: