service: fix published ports
This commit is contained in:
@@ -101,7 +101,7 @@
|
|||||||
image: "{{ container_image.Id if (not ansible_check_mode) or (container_image | length > 0) else docker_image }}"
|
image: "{{ container_image.Id if (not ansible_check_mode) or (container_image | length > 0) else docker_image }}"
|
||||||
user: "{{ docker_user if docker_host_user else omit }}"
|
user: "{{ docker_user if docker_host_user else omit }}"
|
||||||
mounts: "{{ docker_mount_definition }}"
|
mounts: "{{ docker_mount_definition }}"
|
||||||
published_ports: "{{ container_published_ports + _docker_published_ports }}"
|
published_ports: "{{ container_published_ports + docker_published_ports }}"
|
||||||
labels: "{{ traefik_labels | default(omit) }}"
|
labels: "{{ traefik_labels | default(omit) }}"
|
||||||
env: "{{ docker_env | combine(docker_additional_env) | combine({'TZ': timezone}) }}"
|
env: "{{ docker_env | combine(docker_additional_env) | combine({'TZ': timezone}) }}"
|
||||||
entrypoint: "{{ docker_entrypoint | default(omit) }}"
|
entrypoint: "{{ docker_entrypoint | default(omit) }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user