Inital Dockerfile and build pipeline backported from 12.0

This commit is contained in:
Jared Kipe
2018-12-16 11:53:59 -08:00
parent 7ba56bd1ef
commit 3a2eace6fb
3 changed files with 45 additions and 0 deletions

1
.dockerignore Normal file
View File

@@ -0,0 +1 @@
.git

7
Dockerfile Normal file
View File

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

37
debian/odoo.conf vendored Normal file
View File

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