docker_images/odoo/base.yml

57 lines
1.1 KiB
YAML

version: '2'
services:
postgres95:
extends:
file: ../postgres/base.yml
service: postgres95
environment:
POSTGRES_USER: odoo
POSTGRES_PASSWORD: somethingToChange
PGDATA: /opt/odoo/pgdata
postgres96:
extends:
file: ../postgres/base.yml
service: postgres96
environment:
POSTGRES_USER: odoo
POSTGRES_PASSWORD: somethingToChange
PGDATA: /opt/odoo/pgdata
odoo:
build: ./odoo
image: odoo:yaltik8
environment:
DB_MAXCONN: 20
WORKERS: 2
LIMIT_TIME_CPU: 720
LIMIT_TIME_REAL: 1440
ADMIN_PASSWORD: somethingToChange
LIST_DB: "False"
POSTGRES_USER: odoo
POSTGRES_PASSWORD: somethingToChange
odoo9:
extends:
service: odoo
build:
context: ./odoo
dockerfile: Dockerfile.9
image: odoo:yaltik9
odoo10:
extends:
service: odoo
build:
context: ./odoo
dockerfile: Dockerfile.10
image: odoo:yaltik10
odoocmd:
build: ./scripts
image: odoocmd:yaltik
odoobackup:
build: ./backups
image: odoobackup:yaltik