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

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

View File

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

View File

@@ -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:

View File

@@ -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"

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