cleanup invisible unicode characters
This commit is contained in:
@@ -6,16 +6,16 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
environment:
|
environment:
|
||||||
TZ: {{ watchtower_tz | default("Europe/Paris") }}
|
TZ: {{ watchtower_tz | default("Europe/Paris") }}
|
||||||
{% if watchtower_notifications is defined %}
|
{% if watchtower_notifications is defined %}
|
||||||
WATCHTOWER_NOTIFICATIONS: {{ watchtower_notifications }}
|
WATCHTOWER_NOTIFICATIONS: {{ watchtower_notifications }}
|
||||||
WATCHTOWER_NOTIFICATION_URL: {{ watchtower_notifications_url }}
|
WATCHTOWER_NOTIFICATION_URL: {{ watchtower_notifications_url }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
WATCHTOWER_SCHEDULE: "{{ watchtower_schedule | default('0 0 3 * * *') }}"
|
WATCHTOWER_SCHEDULE: "{{ watchtower_schedule | default('0 0 3 * * *') }}"
|
||||||
WATCHTOWER_CLEANUP: "{{ watchtower_cleanup | default('true') }}"
|
WATCHTOWER_CLEANUP: "{{ watchtower_cleanup | default('true') }}"
|
||||||
WATCHTOWER_DEBUG: {{ watchtower_debug | default('"false"') }}
|
WATCHTOWER_DEBUG: {{ watchtower_debug | default('"false"') }}
|
||||||
{% if watchtower_http_api_metrics is defined %}
|
{% if watchtower_http_api_metrics is defined %}
|
||||||
WATCHTOWER_HTTP_API_METRICS: "{{ watchtower_http_api_metrics }}"
|
WATCHTOWER_HTTP_API_METRICS: "{{ watchtower_http_api_metrics }}"
|
||||||
WATCHTOWER_HTTP_API_TOKEN: "{{ watchtower_http_api_token | default('changeme_') }}"
|
WATCHTOWER_HTTP_API_TOKEN: "{{ watchtower_http_api_token | default('changeme_') }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
WATCHTOWER_LABEL_ENABLE: "{{ watchtower_label_enable | default('true') }}"
|
WATCHTOWER_LABEL_ENABLE: "{{ watchtower_label_enable | default('true') }}"
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ After=docker.service
|
|||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
RemainAfterExit=true
|
RemainAfterExit=true
|
||||||
WorkingDirectory=/opt/docker-compose/{{ service }}
|
WorkingDirectory=/opt/docker-compose/{{ service }}
|
||||||
ExecStart=/usr/bin/docker compose up -d
|
ExecStart=/usr/bin/docker compose up -d
|
||||||
ExecStop=/usr/bin/docker compose down
|
ExecStop=/usr/bin/docker compose down
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user