2020-05-31 09:29:29 -04:00
version : "3.3"
services :
ERPLibre :
2021-07-21 01:02:32 -04:00
image : technolibre/erplibre:1.2.0
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
2020-10-25 02:01:52 -04:00
STOP_BEFORE_INIT : "False"
DB_NAME : ""
UPDATE_ALL_DB : "False"
2020-05-31 09:29:29 -04:00
depends_on :
- db
2021-07-21 04:12:14 -04:00
# not behind a proxy
#command: odoo --workers 0
# behind a proxy
#command: odoo --workers 2
2020-07-28 06:09:58 -04:00
command : odoo
2020-05-31 09:29:29 -04:00
volumes :
# See the volume section at the end of the file
2021-01-17 01:43:53 -05:00
- erplibre_data_dir:/home/odoo/.local/share/Odoo
- ./addons/addons:/ERPLibre/addons/addons
2020-08-10 15:52:51 -04:00
- erplibre_conf:/etc/odoo
2020-10-01 04:11:12 -04:00
restart : always
2020-05-31 09:29:29 -04:00
db :
2021-01-16 04:24:49 -05:00
image : postgis/postgis:12-3.1-alpine
2020-05-31 09:29:29 -04:00
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
2020-10-01 04:11:12 -04: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 :