feat: Allow to execute command in container
This commit is contained in:
parent
91e8739aed
commit
b1e2866635
@ -8,6 +8,8 @@ podman_containers: []
|
||||
# - image: docker.io/wallabag/wallabag:latest
|
||||
# name: wallbag
|
||||
# userns: keep-id
|
||||
# commands:
|
||||
# - echo toto
|
||||
# volumes:
|
||||
# - wallbag-data:/var/www/wallabag/data
|
||||
# - wallbag-image:/var/www/wallabag/web/assets/images
|
||||
|
@ -18,6 +18,10 @@ UserNS={{ container.userns }}
|
||||
|
||||
AutoUpdate=registry
|
||||
|
||||
{% for cmd in container.get('commands', []) %}
|
||||
Exec={{ cmd }}
|
||||
{% endfor %}
|
||||
|
||||
{% for volume in container.get('volumes', []) %}
|
||||
Volume={{ volume }}
|
||||
{% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user