1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-14 11:23:02 +02:00
dockerfiles/odoo/docker-compose.yml

20 lines
362 B
YAML
Raw Normal View History

2017-09-06 11:23:27 +02:00
odoo:
2018-12-25 10:29:49 +02:00
image: odoo:12.0
2017-09-06 11:23:27 +02:00
ports:
- "8069:8069"
volumes:
- ./data/odoo:/var/lib/odoo
- ./data/addons:/mnt/extra-addons
links:
- postgres:db
restart: always
postgres:
2018-12-25 10:29:49 +02:00
image: postgres:11-alpine
2017-09-06 11:23:27 +02:00
volumes:
- ./data/postgres:/var/lib/postgresql/data
environment:
- POSTGRES_USER=odoo
- POSTGRES_PASSWORD=odoo
restart: always