diff --git a/docker-compose.yml b/docker-compose.yml index 44203f5..8c2c18f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,6 +18,7 @@ services: # See the volume section at the end of the file - erplibre_data_dir:/home/odoo/.local/share/Odoo/ - erplibre_conf:/etc/odoo + restart: always db: image: postgres:12.3 @@ -28,6 +29,7 @@ services: PGDATA: /var/lib/postgresql/data/pgdata volumes: - erplibre-db-data:/var/lib/postgresql/data/pgdata + restart: always # 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