You've already forked ansible-role-renovate
fix: rename files to .yaml
This commit is contained in:
18
templates/srv/docker/renovate/docker-compose.yaml.j2
Normal file
18
templates/srv/docker/renovate/docker-compose.yaml.j2
Normal file
@@ -0,0 +1,18 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user