fix: docker-compose bin path
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Markus Pesch 2022-05-11 14:07:20 +02:00
parent 4ff78f6356
commit b32cf0eb7d
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
3 changed files with 5 additions and 1 deletions

View File

@ -10,6 +10,8 @@ renovate_config: []
renovate_dir: /srv/docker/renovate renovate_dir: /srv/docker/renovate
renovate_docker_compose_bin: /usr/bin/docker-compose
renovate_container_environment: [] renovate_container_environment: []
# GITHUB_COM_TOKEN: "" # GITHUB_COM_TOKEN: ""
# NODE_TLS_REJECT: "" # NODE_TLS_REJECT: ""

View File

@ -12,5 +12,5 @@ OnFailure=status-email@%n.service
[Service] [Service]
Type=simple Type=simple
ExecStart=/usr/bin/docker-compose up ExecStart={{ renovate_docker_compose_bin }} up
WorkingDirectory={{ renovate_dir }} WorkingDirectory={{ renovate_dir }}

View File

@ -4,9 +4,11 @@ services:
renovate: renovate:
environment: environment:
RENOVATE_CONFIG_FILE: /usr/src/app/config.json 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() %} {% for key, value in renovate_container_environment.items() %}
{{ key | upper }}: {{ value | quote }} {{ key | upper }}: {{ value | quote }}
{% endfor %} {% endfor %}
{% endif %}
image: {{ renovate_container_image }} image: {{ renovate_container_image }}
user: {{ renovate_container_user | default('1000:977') }} user: {{ renovate_container_user | default('1000:977') }}
volumes: volumes: