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
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -17,13 +17,14 @@ filebeat.autodiscover:
providers:
- type: docker
hints.enabled: true
{% if docker_userns_remap %}
hints.default_config:
type: container
paths:
{% if docker_userns_remap %}
- /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 %}
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