feat(hedgedoc): add deployment_method=podman, add docs

This commit is contained in:
2024-10-09 20:03:17 +02:00
parent 49ed240f10
commit 0d914bd11c
4 changed files with 32 additions and 2 deletions

View File

@ -48,7 +48,10 @@ hedgedoc_container_all_volumes: >-2
hedgedoc_container_base_labels:
version: "{{ hedgedoc_container_tag | default(hedgedoc_version, true) }}"
hedgedoc_container_labels: ~
hedgedoc_container_network_mode: ~
hedgedoc_container_all_labels: >-2
{{ hedgedoc_container_base_labels | default({}, true)
| combine(hedgedoc_container_labels | default({}, true)) }}
hedgedoc_container_restart_policy: "unless-stopped"
hedgedoc_container_restart_policy: >-2
{{ (hedgedoc_deployment_method === 'docker')
| ternary('unless-stopped', 'on-failure') }}