Files
ansible-role-renovate/templates/srv/docker/renovate/docker-compose.yml.j2
Markus Pesch 2c6beb0231
Some checks failed
Lint Markdown files / markdown-lint (push) Successful in 9s
Ansible Linter / ansible-lint (push) Failing after 14m32s
fix(templating): adapt lstrip_blocks
2025-08-10 18:32:04 +02:00

19 lines
634 B
Django/Jinja

#jinja2: lstrip_blocks: True
version: '3'
services:
renovate:
environment:
RENOVATE_CONFIG_FILE: /usr/src/app/config.json
{% if renovate_container_environment is defined and renovate_container_environment | length > 0 %}
{% for key, value in renovate_container_environment.items() %}
{{ key | upper }}: {{ value | quote }}
{% endfor %}
{% endif %}
image: {{ renovate_container_image }}
user: {{ renovate_container_user | default('1000:977') }}
volumes:
- ./config.json:/usr/src/app/config.json
- /etc/localtime:/etc/localtime:ro
- /var/run/docker.sock:/var/run/docker.sock
- /tmp:/tmp:rw