Added support for docker log collector
This commit is contained in:
parent
b23832c33a
commit
287ae4bf54
@ -73,6 +73,9 @@ RUN chown odoo /etc/odoo/odoo.conf \
|
|||||||
&& chown -R odoo /mnt/extra-addons
|
&& chown -R odoo /mnt/extra-addons
|
||||||
VOLUME ["/var/lib/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 Odoo services
|
||||||
EXPOSE 8069 8071 8072
|
EXPOSE 8069 8071 8072
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user