diff --git a/HISTORY.rst b/HISTORY.rst index 5b348a8..8f11101 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -25,4 +25,6 @@ latest (unreleased) **Build** +* BSMNT-138 Upgrade postgres dev to prod version (v12) + **Documentation** diff --git a/docker-compose.yml b/docker-compose.yml index 10333cd..21c692a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -41,11 +41,12 @@ services: MARABUNTA_ALLOW_SERIE: 'True' # should not be set in production db: - image: camptocamp/postgres:9.5 + image: camptocamp/postgres:12-postgis3 command: -c shared_buffers=256MB -c maintenance_work_mem=256MB -c wal_buffers=8MB -c effective_cache_size=1024MB ports: - 5432 environment: + POSTGRES_INITDB_ARGS: --encoding=UTF-8 --lc-collate=C --lc-ctype=C POSTGRES_USER: odoo POSTGRES_PASSWORD: odoo volumes: