diff --git a/roles/web-app-baserow/templates/docker-compose.yml.j2 b/roles/web-app-baserow/templates/docker-compose.yml.j2 index d5c04e3f..86440f3e 100644 --- a/roles/web-app-baserow/templates/docker-compose.yml.j2 +++ b/roles/web-app-baserow/templates/docker-compose.yml.j2 @@ -7,7 +7,7 @@ volumes: - data:/baserow/data ports: - - "{{ ports.localhost.http[application_id] }}:80" + - "127.0.0.1:{{ ports.localhost.http[application_id] }}:80" {% include 'roles/docker-container/templates/networks.yml.j2' %} {% include 'roles/docker-container/templates/depends_on/dmbs_excl.yml.j2' %} diff --git a/roles/web-app-oauth2-proxy/templates/container.yml.j2 b/roles/web-app-oauth2-proxy/templates/container.yml.j2 index 85713fb6..e4db085a 100644 --- a/roles/web-app-oauth2-proxy/templates/container.yml.j2 +++ b/roles/web-app-oauth2-proxy/templates/container.yml.j2 @@ -5,7 +5,7 @@ command: --config /oauth2-proxy.cfg hostname: oauth2-proxy ports: - - {{ ports.localhost.oauth2_proxy[application_id] }}:4180/tcp + - 127.0.0.1:{{ ports.localhost.oauth2_proxy[application_id] }}:4180/tcp volumes: - "{{ docker_compose.directories.volumes }}{{ applications | get_app_conf('web-app-oauth2-proxy','configuration_file')}}:/oauth2-proxy.cfg" {% endif %} \ No newline at end of file diff --git a/roles/web-app-pixelfed/templates/docker-compose.yml.j2 b/roles/web-app-pixelfed/templates/docker-compose.yml.j2 index dd6821bd..c5f01374 100644 --- a/roles/web-app-pixelfed/templates/docker-compose.yml.j2 +++ b/roles/web-app-pixelfed/templates/docker-compose.yml.j2 @@ -8,7 +8,7 @@ - "data:/var/www/storage" - "./env:/var/www/.env" ports: - - "{{ ports.localhost.http[application_id] }}:80" + - "127.0.0.1:{{ ports.localhost.http[application_id] }}:80" {% include 'roles/docker-container/templates/depends_on/dmbs_excl.yml.j2' %} {% include 'roles/docker-container/templates/networks.yml.j2' %} worker: diff --git a/roles/web-svc-coturn/templates/docker-compose.yml.j2 b/roles/web-svc-coturn/templates/docker-compose.yml.j2 index 26277274..d6f9a705 100644 --- a/roles/web-svc-coturn/templates/docker-compose.yml.j2 +++ b/roles/web-svc-coturn/templates/docker-compose.yml.j2 @@ -4,7 +4,7 @@ {% include 'roles/docker-container/templates/base.yml.j2' %} image: coturn/coturn restart: always - network_mode: "host" # Nutzt die Host-IP für externe Erreichbarkeit (optional) + network_mode: "host" ports: - "3478:3478/udp" - "3478:3478/tcp" diff --git a/roles/web-svc-simpleicons/templates/docker-compose.yml.j2 b/roles/web-svc-simpleicons/templates/docker-compose.yml.j2 index 811625b5..8ed65b5f 100644 --- a/roles/web-svc-simpleicons/templates/docker-compose.yml.j2 +++ b/roles/web-svc-simpleicons/templates/docker-compose.yml.j2 @@ -4,7 +4,7 @@ image: simpleicons-server:latest container_name: simpleicons-server ports: - - "{{ ports.localhost.http[application_id] }}:{{ container_port }}" + - 127.0.0.1:{{ ports.localhost.http[application_id] }}:{{ container_port }} {% include 'roles/docker-container/templates/base.yml.j2' %} {% include 'roles/docker-container/templates/networks.yml.j2' %} {% include 'roles/docker-container/templates/healthcheck/curl.yml.j2' %}