Update to PostgreSQL 17 and PostGIS 3.5

This commit is contained in:
Eugene Burmakin
2025-05-08 12:47:53 +02:00
parent ebdac37a01
commit 9b437d546a
8 changed files with 24 additions and 8 deletions

View File

@@ -39,7 +39,7 @@ COPY ../Gemfile ../Gemfile.lock ../.ruby-version ../vendor ./
# Install all gems into the image
RUN bundle config set --local path 'vendor/bundle' \
&& bundle install --jobs 4 --retry 3 \
&& rm -rf vendor/bundle/ruby/3.3.0/cache/*.gem
&& rm -rf vendor/bundle/ruby/3.4.1/cache/*.gem
# Copy the rest of the application
COPY ../. ./

View File

@@ -37,7 +37,7 @@ COPY ../Gemfile ../Gemfile.lock ../.ruby-version ../vendor ./
RUN bundle config set --local path 'vendor/bundle' \
&& bundle config set --local without 'development test' \
&& bundle install --jobs 4 --retry 3 \
&& rm -rf vendor/bundle/ruby/3.3.0/cache/*.gem
&& rm -rf vendor/bundle/ruby/3.4.1/cache/*.gem
COPY ../. ./

View File

@@ -17,7 +17,7 @@ services:
start_period: 30s
timeout: 10s
dawarich_db:
image: postgres:17-alpine # TODO: Use postgis here
image: postgis/postgis:17-3.5-alpine
shm_size: 1G
container_name: dawarich_db
volumes:

View File

@@ -17,7 +17,7 @@ services:
start_period: 30s
timeout: 10s
dawarich_db:
image: postgis/postgis:14-3.5-alpine
image: postgis/postgis:17-3.5-alpine
shm_size: 1G
container_name: dawarich_db
volumes: