Files
ansible-role-renovate/templates/srv/docker/renovate/docker-compose.yaml.j2
Markus Pesch fc1ac93fea
All checks were successful
Ansible Linter / ansible-lint (push) Successful in 17s
Lint Markdown files / markdown-lint (push) Successful in 4s
fix: rename files to .yaml
2025-11-23 16:18:38 +01: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