2017-09-06 17:23:27 +08:00
|
|
|
odoo:
|
2019-04-07 10:59:52 +08:00
|
|
|
image: odoo:12
|
2017-09-06 17:23:27 +08:00
|
|
|
ports:
|
2019-04-07 10:59:52 +08:00
|
|
|
- "127.0.0.1:8069:8069"
|
2017-09-06 17:23:27 +08:00
|
|
|
volumes:
|
2019-04-07 10:59:52 +08:00
|
|
|
- ./data/config:/etc/odoo
|
2019-04-07 12:36:11 +08:00
|
|
|
- ./data/web:/var/lib/odoo
|
2017-09-06 17:23:27 +08:00
|
|
|
- ./data/addons:/mnt/extra-addons
|
|
|
|
links:
|
|
|
|
- postgres:db
|
|
|
|
restart: always
|
|
|
|
|
|
|
|
postgres:
|
2018-12-25 16:29:49 +08:00
|
|
|
image: postgres:11-alpine
|
2017-09-06 17:23:27 +08:00
|
|
|
volumes:
|
|
|
|
- ./data/postgres:/var/lib/postgresql/data
|
|
|
|
environment:
|
2019-04-07 10:59:52 +08:00
|
|
|
- POSTGRES_DB=postgres
|
2017-09-06 17:23:27 +08:00
|
|
|
- POSTGRES_USER=odoo
|
|
|
|
- POSTGRES_PASSWORD=odoo
|
|
|
|
restart: always
|