docker_images/odoo/dev.yml

37 lines
763 B
YAML

version: '2'
services:
odoodev:
extends:
file: base.yml
service: odoo
build:
context: ./odoo
dockerfile: Dockerfile.dev
image: odoodev:8.0
environment:
ADMIN_PASSWORD: dev
LIST_DB: "True"
DB_MAXCONN: 20
WORKERS: 1
LIMIT_TIME_CPU: 3000
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