command:odoo -c /ERPLibre/odoo/odoo.conf --without-demo=ALL -i base -d odoo
# user:
volumes:
- .:/ERPLibre
# See the volume section at the end of the file
- erplibre_data_dir:/var/lib/odoo
db:
image:postgres:12.3
environment:
POSTGRES_PASSWORD:mysecretpassword
POSTGRES_USER:odoo
POSTGRES_DB:odoo
networks:
- front
networks:
front:
driver:bridge
ipam:
driver:default
config:
- subnet:172.16.237.0/24
# We configure volume without specific destination to let docket manage it. To configure it through docker use (read related documentation before continuing) :