Actualiser 1.3.CreationDockerfile.postgres.sh
This commit is contained in:
parent
f5606c9935
commit
3040f4c31e
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ cat > "$POSTGRESQL_DIR/Dockerfile" <<EOF
|
|||
FROM postgres:15
|
||||
|
||||
# Changer le port d'écoute dans la configuration PostgreSQL
|
||||
RUN sed -i 's/^#port = 5432/port = $POSTGRESQL_PORT/' /usr/share/postgresql/postgresql.conf.sample
|
||||
RUN sed -i 's/^#port = 5432/port = $POSTGRES_PORT/' /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"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue