refactor: move to podman container setup #2

Open
xoxys wants to merge 6 commits from podman into main
Showing only changes of commit 63d2a09634 - Show all commits

View File

@ -15,6 +15,7 @@ EnvironmentFile=/etc/containers/systemd/gitea.env
{% for item in gitea_volumes %}
Volume={{ item.name }}:{{ item.dest }}{{ ":" + item.opts if item.opts is defined else "" }}
{% endfor %}
{% if (gitea_cap_add + gitea_cap_drop) | length > 0 %}
{% if gitea_cap_add | length > 0 %}
AddCapability={{ gitea_cap_add | join(" ") }}
@ -22,6 +23,7 @@ AddCapability={{ gitea_cap_add | join(" ") }}
{% if gitea_cap_drop | length > 0 %}
DropCapability={{ gitea_cap_drop | join(" ") }}
{% endif %}
{% endi %}
Network={{ gitea_network }}
{% for item in gitea_exposed_ports %}