diff --git a/Dockerfile b/Dockerfile index 76a25c3..c209151 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,8 +25,8 @@ RUN apt-get update && \ apt-get install -y \ supervisor \ redis-server \ - postgresql \ - postgresql-client \ + postgresql-17 \ + postgresql-client-17 \ gcc \ libpq-dev \ curl \ @@ -83,7 +83,7 @@ ENV POSTGRES_USER=dev ENV POSTGRES_PASSWORD=dev ENV POSTGRES_DATABASE=pontoon -ENV PATH="/usr/lib/postgresql/15/bin:$PATH" +ENV PATH="/usr/lib/postgresql/17/bin:$PATH" RUN mkdir -p /var/lib/postgresql/data && \ chown -R postgres:postgres /var/lib/postgresql USER postgres diff --git a/supervisord.conf b/supervisord.conf index bf4049d..4d1dd29 100644 --- a/supervisord.conf +++ b/supervisord.conf @@ -4,7 +4,7 @@ nodaemon=true [program:postgres] user=postgres -command=/usr/lib/postgresql/15/bin/postgres -D /var/lib/postgresql/data +command=/usr/lib/postgresql/17/bin/postgres -D /var/lib/postgresql/data stdout_logfile=/var/log/postgres.log stderr_logfile=/var/log/postgres.log autostart=true