From 0ce19f8374d2cca849c8c4dcc28293df840a4b0e Mon Sep 17 00:00:00 2001 From: Samus CTO Date: Fri, 27 Feb 2015 16:18:03 +0100 Subject: [PATCH] [IMP] export Odoo http port 8069 --- 8.0/Dockerfile | 3 +++ 8.0/run.sh | 1 + 2 files changed, 4 insertions(+) diff --git a/8.0/Dockerfile b/8.0/Dockerfile index 1f19cbf..f5bf899 100644 --- a/8.0/Dockerfile +++ b/8.0/Dockerfile @@ -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 diff --git a/8.0/run.sh b/8.0/run.sh index 20d5ecc..41dc889 100755 --- a/8.0/run.sh +++ b/8.0/run.sh @@ -8,4 +8,5 @@ export PGPASSWORD=$DB_ENV_POSTGRES_PASSWORD [ "$1" != "--" ] && exec "$@" +shift exec /usr/bin/openerp-server --config=/etc/odoo/openerp-server.conf "$@"