[IMP] export Odoo http port 8069

This commit is contained in:
Samus CTO 2015-02-27 16:18:03 +01:00
parent 85366eda78
commit 0ce19f8374
2 changed files with 4 additions and 0 deletions

View File

@ -36,6 +36,9 @@ COPY ./run.sh /
# Mount /var/lib/odoo to allow restoring filestore
VOLUME ["/var/lib/odoo"]
# Expose Odoo service
EXPOSE 8069
# Set default user when running the container
USER odoo

View File

@ -8,4 +8,5 @@ export PGPASSWORD=$DB_ENV_POSTGRES_PASSWORD
[ "$1" != "--" ] && exec "$@"
shift
exec /usr/bin/openerp-server --config=/etc/odoo/openerp-server.conf "$@"