Skip to content

How can I override the postgresql.conf ? #1060

Closed
@ghevge

Description

@ghevge

How can I override the postgresql.conf ?
In my Dockerfile I've tried the following:

COPY ./postgresql.conf /usr/local/share/postgresql/postgresql.conf
COPY ./postgresql.conf /etc/postgresql.conf
COPY ./postgresql.conf /etc/postgresql/postgresql.conf
COPY ./postgresql.conf /var/lib/postgresql/data/postgresql.conf
RUN echo 'tes = test' >> /var/lib/postgresql/data/postgresql.conf

Non of these approaches is changing the default configurations

I'm playing with postgres:15-alpine image.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions