Docker-compose-odoo-10.yml
services:
web:
image: odoo:10.0
container_name: odoo-example-web
restart: always
depends_on:
- db
ports:
- "8069:8069"
volumes:
- ./odoo-extra-addons:/mnt/extra-addons
- ./odoo-web-data:/var/lib/odoo
db:
image: postgres:9.4
container_name: odoo-example-db
restart: always
environment:
- POSTGRES_PASSWORD=odoo
- POSTGRES_USER=odoo
volumes:
- ./postgres-data:/var/lib/postgresql/data