mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 18:22:47 +01:00
always restart acng and registry containers when docker restarts
This commit is contained in:
@@ -61,6 +61,7 @@ so-aptcacherng:
|
|||||||
docker_container.running:
|
docker_container.running:
|
||||||
- image: {{ MASTER }}:5000/soshybridhunter/so-acng:{{ VERSION }}
|
- image: {{ MASTER }}:5000/soshybridhunter/so-acng:{{ VERSION }}
|
||||||
- hostname: so-acng
|
- hostname: so-acng
|
||||||
|
- restart_policy: always
|
||||||
- port_bindings:
|
- port_bindings:
|
||||||
- 0.0.0.0:3142:3142
|
- 0.0.0.0:3142:3142
|
||||||
- binds:
|
- binds:
|
||||||
|
|||||||
@@ -42,6 +42,7 @@ so-dockerregistry:
|
|||||||
docker_container.running:
|
docker_container.running:
|
||||||
- image: registry:2
|
- image: registry:2
|
||||||
- hostname: so-registry
|
- hostname: so-registry
|
||||||
|
- restart_policy: always
|
||||||
- port_bindings:
|
- port_bindings:
|
||||||
- 0.0.0.0:5000:5000
|
- 0.0.0.0:5000:5000
|
||||||
- binds:
|
- binds:
|
||||||
|
|||||||
Reference in New Issue
Block a user