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

22 lines
427 B
YAML
Raw Normal View History

2017-09-06 11:23:27 +02:00
odoo:
2019-04-07 04:59:52 +02:00
image: odoo:12
2017-09-06 11:23:27 +02:00
ports:
2019-04-07 04:59:52 +02:00
- "127.0.0.1:8069:8069"
2017-09-06 11:23:27 +02:00
volumes:
2019-04-07 04:59:52 +02:00
- ./data/config:/etc/odoo
2017-09-06 11:23:27 +02:00
- ./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:
2019-04-07 04:59:52 +02:00
- POSTGRES_DB=postgres
2017-09-06 11:23:27 +02:00
- POSTGRES_USER=odoo
- POSTGRES_PASSWORD=odoo
restart: always