Replaced http_port by dedicated application port -> Result of previous bugs

This commit is contained in:
2025-02-21 05:20:18 +01:00
parent 9f41e25166
commit 88194ac3d3
32 changed files with 34 additions and 32 deletions

View File

@@ -8,7 +8,7 @@ services:
image: yourls:{{applications.yourls.version}}
{% include 'roles/docker-compose/templates/services/base.yml.j2' %}
ports:
- "127.0.0.1:{{http_port}}:80"
- "127.0.0.1:{{ports.localhost.http[application_id]}}:80"
healthcheck:
test: ["CMD", "curl", "-f", "http://127.0.0.1/admin/"]
interval: 1m