2020-05-31 09:29:29 -04:00
services :
2022-01-24 23:07:15 -05:00
ERPLibre :
2026-02-04 13:47:53 -05:00
image : technolibre/erplibre:1.6.0_odoo_18.0_eae4054
2022-01-24 23:07:15 -05:00
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
2024-06-08 13:35:32 -04:00
#command: odoo --workers 2 --proxy-mode
# For production ready
#command: odoo --workers 2 --proxy-mode --no-database-list
2025-08-07 06:28:34 -04:00
# Increase max memory
#command: odoo --limit-memory-hard=0 --limit-memory-soft=0
2022-01-24 23:07:15 -05:00
command : odoo
volumes :
# See the volume section at the end of the file
- erplibre_data_dir:/home/odoo/.local/share/Odoo
2025-08-07 06:28:34 -04:00
- ./odoo18.0/addons/addons:/ERPLibre/odoo18.0/addons/addons
2022-01-24 23:07:15 -05:00
- erplibre_conf:/etc/odoo
restart : always
2020-05-31 09:29:29 -04:00
2022-01-24 23:07:15 -05:00
db :
2025-11-18 15:08:24 -05:00
image : postgis/postgis:18-3.6-alpine
2022-01-24 23:07:15 -05:00
environment :
POSTGRES_PASSWORD : mysecretpassword
POSTGRES_USER : odoo
POSTGRES_DB : postgres
2025-11-18 15:08:24 -05:00
PGDATA : /var/lib/postgresql/pgdata
2022-01-24 23:07:15 -05:00
volumes :
2025-11-18 15:08:24 -05:00
- erplibre-db-data:/var/lib/postgresql/pgdata
2022-01-24 23:07:15 -05:00
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 :