1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/odoo/docker-compose.yml
2017-09-06 17:23:27 +08:00

20 lines
361 B
YAML

odoo:
image: odoo:10.0
ports:
- "8069:8069"
volumes:
- ./data/odoo:/var/lib/odoo
- ./data/addons:/mnt/extra-addons
links:
- postgres:db
restart: always
postgres:
image: postgres:9-alpine
volumes:
- ./data/postgres:/var/lib/postgresql/data
environment:
- POSTGRES_USER=odoo
- POSTGRES_PASSWORD=odoo
restart: always