service: samll improvements

This commit is contained in:
uumas
2026-03-28 06:05:37 +02:00
parent edb803f3c1
commit c2fd6236fe
2 changed files with 6 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ argument_specs:
service_container_http_port:
description:
- Port inside the container where http requests are proxied to.
- If set to 0, http requests are proxied to /run/<service name>.sock inside the container
- If set to 0, http requests are proxied to fd:3 inside the container
type: int
required: false
default: 0
@@ -482,7 +482,7 @@ argument_specs:
- Name of the port.
- >-
If type is socket, the socket will be created at
/run/<service name>-<additional container name>-<port name>.sock on the host.
/run/<service name>-<port name>-socat.sock on the host.
- If type is not socket, this is just informative.
type: str
required: true

View File

@@ -8,5 +8,9 @@
container_networks:
- name: "{{ service_name }}"
ip: "{{ service_container_ip | ansible.utils.ipmath(2) if _service_static_ip else '' }}"
container_mounts:
- type: volume
source: redis
destination: /data
container_hostname: redis
container_auto_update: "{{ service_auto_update }}"