docker_images/odoo/dev.yml

51 lines
1.0 KiB
YAML
Raw Normal View History

version: '2'
services:
nginx:
build:
context: ./nginx
dockerfile: Dockerfile.dev
image: nginx:odoodev
environment:
PORT: 80
NGINX_HOST: localhost 127.0.0.1
ODOO_SERVICE: odoo
ODOO_SERVER_NAMES: localodoo odoo ocb
odoodev:
extends:
file: base.yml
service: odoo
build:
context: ./odoo
dockerfile: Dockerfile.dev
image: odoodev:yaltik8
environment:
ADMIN_PASSWORD: dev
LIST_DB: "True"
DB_MAXCONN: 20
WORKERS: 2
LIMIT_TIME_CPU: 3000
LIMIT_TIME_REAL: 6000
DEV: 1
PROXY_MODE: "False"
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:yaltik10
environment:
DEV: 1
ADMIN_PASSWORD: dev
LIST_DB: "True"
DB_MAXCONN: 20
WORKERS: 2
LIMIT_TIME_CPU: 3000
LIMIT_TIME_REAL: 6000