This commit is contained in:
Cristian Alonso 2023-11-11 07:48:07 -08:00 committed by GitHub
commit f6c6599bc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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