[FIX] docker downgrade postgresql 18 to 17

- some database importation not working like discuss_channel
This commit is contained in:
Mathieu Benoit 2025-11-04 05:02:05 -05:00
parent abb7d6650e
commit dce3f98bbc
3 changed files with 9 additions and 9 deletions

View file

@ -32,14 +32,14 @@ services:
restart: always restart: always
db: db:
image: postgis/postgis:18-3.6-alpine image: postgis/postgis:17-3.6-alpine
environment: environment:
POSTGRES_PASSWORD: mysecretpassword POSTGRES_PASSWORD: mysecretpassword
POSTGRES_USER: odoo POSTGRES_USER: odoo
POSTGRES_DB: postgres POSTGRES_DB: postgres
PGDATA: /var/lib/postgresql/pgdata PGDATA: /var/lib/postgresql/data/pgdata
volumes: volumes:
- erplibre-db-data:/var/lib/postgresql/pgdata - erplibre-db-data:/var/lib/postgresql/data/pgdata
restart: always restart: always
# We configure volume without specific destination to let docker manage it. To configure it through docker use (read related documentation before continuing) : # We configure volume without specific destination to let docker manage it. To configure it through docker use (read related documentation before continuing) :

View file

@ -33,14 +33,14 @@ services:
restart: always restart: always
db: db:
image: postgis/postgis:18-3.6-alpine image: postgis/postgis:17-3.6-alpine
environment: environment:
POSTGRES_PASSWORD: mysecretpassword POSTGRES_PASSWORD: mysecretpassword
POSTGRES_USER: odoo POSTGRES_USER: odoo
POSTGRES_DB: postgres POSTGRES_DB: postgres
PGDATA: /var/lib/postgresql/pgdata PGDATA: /var/lib/postgresql/data/pgdata
volumes: volumes:
- erplibre-db-data:/var/lib/postgresql/pgdata - erplibre-db-data:/var/lib/postgresql/data/pgdata
restart: always restart: always
# We configure volume without specific destination to let docker manage it. To configure it through docker use (read related documentation before continuing) : # We configure volume without specific destination to let docker manage it. To configure it through docker use (read related documentation before continuing) :

View file

@ -34,14 +34,14 @@ services:
restart: always restart: always
db: db:
image: postgis/postgis:18-3.6-alpine image: postgis/postgis:17-3.6-alpine
environment: environment:
POSTGRES_PASSWORD: mysecretpassword POSTGRES_PASSWORD: mysecretpassword
POSTGRES_USER: odoo POSTGRES_USER: odoo
POSTGRES_DB: postgres POSTGRES_DB: postgres
PGDATA: /var/lib/postgresql/pgdata PGDATA: /var/lib/postgresql/data/pgdata
volumes: volumes:
- erplibre-db-data:/var/lib/postgresql/pgdata - erplibre-db-data:/var/lib/postgresql/data/pgdata
restart: always restart: always
chrome: chrome: