1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/odoo/docker-compose.yml
2019-04-07 12:36:11 +08:00

22 lines
426 B
YAML

odoo:
image: odoo:12
ports:
- "127.0.0.1:8069:8069"
volumes:
- ./data/config:/etc/odoo
- ./data/web:/var/lib/odoo
- ./data/addons:/mnt/extra-addons
links:
- postgres:db
restart: always
postgres:
image: postgres:11-alpine
volumes:
- ./data/postgres:/var/lib/postgresql/data
environment:
- POSTGRES_DB=postgres
- POSTGRES_USER=odoo
- POSTGRES_PASSWORD=odoo
restart: always