Reduced port exposal to local for better encapsulation

This commit is contained in:
2025-09-19 19:43:16 +02:00
parent 14d1362dc8
commit 2a98b265bc
5 changed files with 5 additions and 5 deletions

View File

@@ -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' %}