use port_bindings from docker defaults in docker states

This commit is contained in:
m0duspwnens
2023-01-13 10:15:10 -05:00
parent a69b0951d3
commit 6033e9a0de
17 changed files with 56 additions and 26 deletions
+3 -1
View File
@@ -34,7 +34,9 @@ so-elastic-fleet-package-registry:
- extra_hosts:
- {{ GLOBALS.hostname }}:{{ GLOBALS.node_ip }}
- port_bindings:
- 0.0.0.0:8080:8080
{% for BINDING in DOCKER.containers['so-elastic-fleet-package-registry'].port_bindings %}
- {{ BINDING }}
{% endfor %}
append_so-elastic-fleet-package-registry_so-status.conf:
file.append: