From 3a2eace6fb308e99f8fdd882c6c2382766f085e8 Mon Sep 17 00:00:00 2001 From: Jared Kipe Date: Sun, 16 Dec 2018 11:53:59 -0800 Subject: [PATCH] Inital Dockerfile and build pipeline backported from 12.0 --- .dockerignore | 1 + Dockerfile | 7 +++++++ debian/odoo.conf | 37 +++++++++++++++++++++++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 .dockerignore create mode 100644 Dockerfile create mode 100644 debian/odoo.conf diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 00000000..6b8710a7 --- /dev/null +++ b/.dockerignore @@ -0,0 +1 @@ +.git diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..4b6a2303 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,7 @@ +FROM hibou/hibou-odoo:11.0 + +COPY --chown=104 . /opt/odoo/hibou-suite +RUN rm /etc/odoo/odoo.conf \ + && cp /opt/odoo/hibou-suite/debian/odoo.conf /etc/odoo/odoo.conf \ + ; + diff --git a/debian/odoo.conf b/debian/odoo.conf new file mode 100644 index 00000000..adeec2eb --- /dev/null +++ b/debian/odoo.conf @@ -0,0 +1,37 @@ +[options] +addons_path = /opt/odoo/hibou-suite,/opt/odoo/odoo/addons +data_dir = /var/lib/odoo +; admin_passwd = admin +; csv_internal_sep = , +; db_maxconn = 64 +; db_name = False +; db_template = template1 +; dbfilter = .* +; debug_mode = False +; email_from = False +; limit_memory_hard = 2684354560 +; limit_memory_soft = 2147483648 +; limit_request = 8192 +; limit_time_cpu = 60 +; limit_time_real = 120 +; list_db = True +; log_db = False +; log_handler = [':INFO'] +; log_level = info +; logfile = None +; longpolling_port = 8072 +; max_cron_threads = 2 +; osv_memory_age_limit = 1.0 +; osv_memory_count_limit = False +; smtp_password = False +; smtp_port = 25 +; smtp_server = localhost +; smtp_ssl = False +; smtp_user = False +; workers = 0 +; xmlrpc = True +; xmlrpc_interface = +; xmlrpc_port = 8069 +; xmlrpcs = True +; xmlrpcs_interface = +; xmlrpcs_port = 8071