Sort for loops

This commit is contained in:
Sam A. 2023-12-28 17:19:51 +01:00
parent 3a01a5fd48
commit f04e21927d
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA

View file

@ -34,7 +34,7 @@ services:
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:rw"
- "/usr/libexec/docker/cli-plugins/docker-compose:/usr/libexec/docker/cli-plugins/docker-compose:ro"
{% for app in apps_backup %}
{% for app in apps_backup|sort %}
- "{{ apps_data_root }}/{{ app }}/data:/mnt/volumes/{{ app }}:ro"
{% endfor %}