docker_images/odoo/py3o.yml

38 lines
880 B
YAML

version: '2.2'
services:
odoopy3o10:
init: true
build:
context: ./odoo
dockerfile: Dockerfile.py3o.10
image: registry.yaltik.net/odoo:yaltikpy3o10
environment:
DB_MAXCONN: 20
XMLRPC_PORT: 8069
LONGPOLLING_PORT: 8072
WORKERS: 2
LIMIT_TIME_CPU: 720
LIMIT_TIME_REAL: 1440
ADMIN_PASSWORD: somethingToChange
LIST_DB: "False"
POSTGRES_USER: odoo
POSTGRES_PASSWORD: somethingToChange
odoodevpy3o10:
extends: odoopy3o10
build:
context: ./odoo
dockerfile: Dockerfile.py3o.10.dev
image: registry.yaltik.net/odoodev:yaltikpy3o10
environment:
DEV: 1
ADMIN_PASSWORD: dev
LIST_DB: "True"
DB_MAXCONN: 20
WORKERS: 2
LIMIT_TIME_CPU: 3000
LIMIT_TIME_REAL: 6000
LIMIT_MEMORY_SOFT: 7000000000
LIMIT_MEMORY_HARD: 16000000000