docker_images/odoo/prod.yml

22 lines
381 B
YAML

version: '2'
services:
nginx:
build: ./nginx
image: odoonginx:latest
environment:
NGINX_HOST: localhost 127.0.0.1
ODOO_HOST: odoo
ODOO_SERVER_NAMES: localodoo odoo ocb
ports:
- "80:80"
- "443:443"
odoo:
extends:
file: base.yml
service: odoo
build:
context: ./odoo
environment:
LIST_DB: "False"