fix(hedgedoc): add options ports and user to container creation task

This commit is contained in:
transcaffeine 2024-10-08 17:55:06 +02:00
parent 81d6f809d7
commit 49ed240f10
Signed by: transcaffeine
GPG Key ID: 03624C433676E465
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,5 @@
--- ---
hedgedoc_run_user_id: >-2 hedgedoc_run_user_id: >-2
{{ hedgedoc_user_info.uid | default(hedgedoc_user }} {{ hedgedoc_user_info.uid | default(hedgedoc_user) }}
hedgedoc_run_group_id: >-2 hedgedoc_run_group_id: >-2
{{ hedgedoc_user_info.group | default(hedgedoc_user }} {{ hedgedoc_user_info.group | default(hedgedoc_user) }}

View File

@ -17,6 +17,8 @@
name: "{{ hedgedoc_container_name }}" name: "{{ hedgedoc_container_name }}"
image: "{{ hedgedoc_container_image }}" image: "{{ hedgedoc_container_image }}"
env: "{{ hedgedoc_container_env | default(omit, true) }}" env: "{{ hedgedoc_container_env | default(omit, true) }}"
user: "{{ hedgedoc_container_user | default(omit, true) }}"
ports: "{{ hedgedoc_container_ports | default(omit, true) }}"
labels: "{{ hedgedoc_container_all_labels }}" labels: "{{ hedgedoc_container_all_labels }}"
volumes: "{{ hedgedoc_container_all_volumes }}" volumes: "{{ hedgedoc_container_all_volumes }}"
etc_hosts: "{{ hedgedoc_container_etc_hosts | default(omit, true) }}" etc_hosts: "{{ hedgedoc_container_etc_hosts | default(omit, true) }}"