2020-05-31 09:29:29 -04:00
version : "3.3"
services :
ERPLibre :
2020-06-03 17:08:00 -04:00
image : technolibre/erplibre:12.0-pkg
# image: technolibre/erplibre:12.0-src
2020-05-31 09:29:29 -04:00
ports :
- 8069 : 8069
2020-07-28 06:09:58 -04:00
- 8071 : 8071
- 8072 : 8072
2020-05-31 09:29:29 -04:00
environment :
HOST : db
PASSWORD : mysecretpassword
USER : odoo
2020-07-28 06:09:58 -04:00
POSTGRES_DB : postgres
# CURRENT_UID: ${CURRENT_UID}
2020-05-31 09:29:29 -04:00
depends_on :
- db
2020-07-28 06:09:58 -04:00
# networks:
# - front
#entrypoint: odoo
#command: bash -c "sleep 1000 && odoo --without-demo=ALL -i base -d odoo "
command : odoo
2020-05-31 09:29:29 -04:00
# user:
volumes :
2020-07-28 06:09:58 -04:00
# - .:/ERPLibre
2020-05-31 09:29:29 -04:00
# 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
2020-07-28 06:09:58 -04:00
POSTGRES_DB : postgres
PGDATA : /var/lib/postgresql/data/pgdata
volumes :
- erplibre-db-data:/var/lib/postgresql/data/pgdata
#networks:
# - front
2020-05-31 09:29:29 -04:00
2020-07-28 06:09:58 -04:00
#networks:
# front:
#
# driver: bridge
# ipam:
# driver: default
# config:
# - subnet: 172.16.237.0/24
2020-05-31 09:29:29 -04:00
# We configure volume without specific destination to let docket manage it. To configure it through docker use (read related documentation before continuing) :
# - docker volume --help
# - docker-compose down --help
volumes :
erplibre_data_dir :
2020-07-28 06:09:58 -04:00
erplibre-db-data :