mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-09 20:08:25 -05:00
Update to PostgreSQL 17 and PostGIS 3.5
This commit is contained in:
@@ -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 ../. ./
|
||||
|
||||
@@ -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 ../. ./
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user