service: fix template mounts for additional containers

This commit is contained in:
uumas
2025-08-28 11:02:35 +03:00
parent d260e28625
commit 014edb08ac
3 changed files with 40 additions and 3 deletions

View File

@@ -10,7 +10,7 @@ _service_container_requires: >-
_service_container_wants: >-
{{
service_wants
+ ([service_name + '-socat.socket'] if service_domains | length > 0 else [])
+ ([service_name + '-socat.socket'] if service_container_http_port > 0 else [])
+ _service_additional_containers
| map(attribute='name')
| map('regex_replace', '$', '.service')