Skip to content
Extraits de code Groupes Projets
Valider 19adb4e0 rédigé par Théo - Le Filament's avatar Théo - Le Filament
Parcourir les fichiers

fix: specify log file path of odoo container without userns remap

parent 851d07a4
Branches master
Étiquettes v1.0.9
Aucune requête de fusion associée trouvée
...@@ -17,13 +17,14 @@ filebeat.autodiscover: ...@@ -17,13 +17,14 @@ filebeat.autodiscover:
providers: providers:
- type: docker - type: docker
hints.enabled: true hints.enabled: true
{% if docker_userns_remap %}
hints.default_config: hints.default_config:
type: container type: container
paths: paths:
{% if docker_userns_remap %}
- /var/lib/docker/{{ dockremap_subuid | default("*") }}.{{ dockremap_subgid | default("*") }}/containers/${data.container.id}/*-json.log - /var/lib/docker/{{ dockremap_subuid | default("*") }}.{{ dockremap_subgid | default("*") }}/containers/${data.container.id}/*-json.log
{% else %}
- /var/lib/docker/containers/${data.container.id}/*-json.log
{% endif %} {% endif %}
{% endif %} {% endif %}
filebeat.inputs: filebeat.inputs:
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter