From 287ae4bf542c034d567397f5edd7fb7d50057fd6 Mon Sep 17 00:00:00 2001 From: Cristian Date: Tue, 29 Dec 2020 09:51:26 +0100 Subject: [PATCH] Added support for docker log collector --- 14.0/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/14.0/Dockerfile b/14.0/Dockerfile index 22329e0..56452f2 100644 --- a/14.0/Dockerfile +++ b/14.0/Dockerfile @@ -73,6 +73,9 @@ RUN chown odoo /etc/odoo/odoo.conf \ && chown -R odoo /mnt/extra-addons VOLUME ["/var/lib/odoo", "/mnt/extra-addons"] +# Forward logs to STDOUT (Docker Log collector) +RUN ln -sf /dev/stdout /var/log/odoo/odoo-server.log + # Expose Odoo services EXPOSE 8069 8071 8072