service: Make supporting containers accessible using simple hostnames

This commit is contained in:
uumas
2026-03-12 00:16:11 +02:00
parent ff1badbf03
commit f6af1d3472
4 changed files with 7 additions and 5 deletions

View File

@@ -7,6 +7,7 @@
container_image: docker.io/valkey/valkey:alpine
container_networks:
- "{{ service_name }}"
container_hostname: redis
container_ip: >-
{{ service_container_ip | ansible.utils.ipmath(2) if _service_static_ip else '' }}
container_auto_update: "{{ service_auto_update }}"