[IMP] export Odoo http port 8069
This commit is contained in:
parent
85366eda78
commit
0ce19f8374
@ -36,6 +36,9 @@ COPY ./run.sh /
|
|||||||
# Mount /var/lib/odoo to allow restoring filestore
|
# Mount /var/lib/odoo to allow restoring filestore
|
||||||
VOLUME ["/var/lib/odoo"]
|
VOLUME ["/var/lib/odoo"]
|
||||||
|
|
||||||
|
# Expose Odoo service
|
||||||
|
EXPOSE 8069
|
||||||
|
|
||||||
# Set default user when running the container
|
# Set default user when running the container
|
||||||
USER odoo
|
USER odoo
|
||||||
|
|
||||||
|
@ -8,4 +8,5 @@ export PGPASSWORD=$DB_ENV_POSTGRES_PASSWORD
|
|||||||
|
|
||||||
[ "$1" != "--" ] && exec "$@"
|
[ "$1" != "--" ] && exec "$@"
|
||||||
|
|
||||||
|
shift
|
||||||
exec /usr/bin/openerp-server --config=/etc/odoo/openerp-server.conf "$@"
|
exec /usr/bin/openerp-server --config=/etc/odoo/openerp-server.conf "$@"
|
||||||
|
Loading…
Reference in New Issue
Block a user