From abc8624aac61fce29e72eba009bb0e7ba7cd04ba Mon Sep 17 00:00:00 2001 From: Daniel Petrov Date: Thu, 24 Oct 2024 10:22:12 +0300 Subject: [PATCH] build(docker): bump postgresql to version 17 --- compose.yml | 6 +++--- docker/db-tools/Dockerfile | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/compose.yml b/compose.yml index 5469389f..9b3ca804 100644 --- a/compose.yml +++ b/compose.yml @@ -34,7 +34,7 @@ services: labels: - "traefik.enable=true" - "traefik.http.routers.sbweb.entrypoints=web" - - "traefik.http.routers.sbweb.rule=Host(`sb.localhost`)" + - "traefik.http.routers.sbweb.rule=Host(`${SB_DOMAIN}`)" - "traefik.http.services.sbweb.loadbalancer.server.port=80" server: @@ -103,7 +103,7 @@ services: - "traefik.http.services.sbserver.loadbalancer.server.port=5000" db: - image: postgres:9.4 + image: postgis/postgis:17-3.5 environment: POSTGRES_PASSWORD: 'secret' POSTGRES_USER: 'smartbirds' @@ -120,7 +120,7 @@ services: test: [ "CMD-SHELL", "redis-cli ping | grep PONG" ] testdb: - image: postgres:9.4 + image: postgres:17.0 restart: no environment: POSTGRES_PASSWORD: 'testpass' diff --git a/docker/db-tools/Dockerfile b/docker/db-tools/Dockerfile index 1b7a365a..dfec60c6 100644 --- a/docker/db-tools/Dockerfile +++ b/docker/db-tools/Dockerfile @@ -1,4 +1,4 @@ -FROM postgres:9.4 +FROM postgres:17.0 COPY entrypoint.sh /entrypoint.sh