odoo17-to-18-community-upgr.../V17/Dockerfile.postgres

10 lines
369 B
Text
Raw Normal View History

2025-07-29 07:42:48 +00:00
# Utiliser l'image officielle PostgreSQL 15
FROM postgres:15
# Changer le port d'écoute dans la configuration PostgreSQL
RUN sed -i 's/^#port = 5432/port = 5444/' /usr/share/postgresql/postgresql.conf.sample
# Copier la configuration dans le répertoire de configuration PostgreSQL
CMD ["postgres", "-c", "config_file=/usr/share/postgresql/postgresql.conf.sample"]