mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-28 09:08:36 +02:00
22 lines
426 B
YAML
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
|