2020-05-31 09:29:29 -04:00
version : "3.3"
services :
2022-01-24 23:07:15 -05:00
ERPLibre :
image : technolibre/erplibre:1.2.1
ports :
- 8069 : 8069
- 8071 : 8071
- 8072 : 8072
environment :
HOST : db
PASSWORD : mysecretpassword
USER : odoo
POSTGRES_DB : postgres
STOP_BEFORE_INIT : "False"
DB_NAME : ""
UPDATE_ALL_DB : "False"
depends_on :
- db
# not behind a proxy
#command: odoo --workers 0
# behind a proxy
#command: odoo --workers 2
command : odoo
volumes :
# See the volume section at the end of the file
- erplibre_data_dir:/home/odoo/.local/share/Odoo
- ./addons/addons:/ERPLibre/addons/addons
- erplibre_conf:/etc/odoo
restart : always
2020-05-31 09:29:29 -04:00
2022-01-24 23:07:15 -05:00
db :
image : postgis/postgis:12-3.1-alpine
environment :
POSTGRES_PASSWORD : mysecretpassword
POSTGRES_USER : odoo
POSTGRES_DB : postgres
PGDATA : /var/lib/postgresql/data/pgdata
volumes :
- erplibre-db-data:/var/lib/postgresql/data/pgdata
restart : always
2020-05-31 09:29:29 -04:00
2020-11-20 22:06:49 -05:00
# We configure volume without specific destination to let docker manage it. To configure it through docker use (read related documentation before continuing) :
2020-05-31 09:29:29 -04:00
# - docker volume --help
# - docker-compose down --help
volumes :
erplibre_data_dir :
2020-08-10 15:52:51 -04:00
erplibre_conf :
2020-07-28 06:09:58 -04:00
erplibre-db-data :