From a504dedfef94544d19e29bec06fa1c99488e53d4 Mon Sep 17 00:00:00 2001 From: Fabien Bourgeois Date: Mon, 17 Oct 2016 11:23:50 +0200 Subject: [PATCH] [IMP]Odoo service : dev environment for v10 --- odoo/dev.yml | 17 +++++++++++++++++ odoo/odoo/Dockerfile.10.dev | 4 ++++ 2 files changed, 21 insertions(+) create mode 100644 odoo/odoo/Dockerfile.10.dev diff --git a/odoo/dev.yml b/odoo/dev.yml index 55c4fe5..807781a 100644 --- a/odoo/dev.yml +++ b/odoo/dev.yml @@ -1,5 +1,6 @@ version: '2' services: + odoodev: extends: file: base.yml @@ -17,3 +18,19 @@ services: LIMIT_TIME_REAL: 6000 volumes: - /home/fabien/tmp/programming/py/server-tools:/opt/odoo/custom-addons/server-tools:ro + + odoodev10: + extends: + file: base.yml + service: odoo10 + build: + context: ./odoo + dockerfile: Dockerfile.10.dev + image: odoodev:10.0 + environment: + ADMIN_PASSWORD: dev + LIST_DB: "True" + DB_MAXCONN: 20 + WORKERS: 1 + LIMIT_TIME_CPU: 3000 + LIMIT_TIME_REAL: 6000 diff --git a/odoo/odoo/Dockerfile.10.dev b/odoo/odoo/Dockerfile.10.dev new file mode 100644 index 0000000..76a5a6d --- /dev/null +++ b/odoo/odoo/Dockerfile.10.dev @@ -0,0 +1,4 @@ +FROM odoo:10.0 +MAINTAINER Yaltik - Fabien Bourgeois + +ADD shell.sh ./