Skip to content

Commit

Permalink
fix: update postgis to address CVE
Browse files Browse the repository at this point in the history
  • Loading branch information
takb committed Feb 19, 2024
1 parent bb0c89c commit c94da0d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ services:
# Also port should be set to 5432 (default value) inside the same file since they are on the same network
db:
container_name: ops-db
image: kartoza/postgis:11.0-2.5
image: postgis/postgis:16-3.4
volumes:
- postgis-data:/var/lib/postgresql
environment:
# If you need to create multiple database you can add coma separated databases eg gis,data
- POSTGRES_DB=gis
- POSTGRES_USER=gis_admin # Here it's important to keep the same name as the one configured inside ops_settings_docker.yml
- POSTGRES_PASS=admin # Here it's important to keep the same name as the one configured inside ops_settings_docker.yml
- POSTGRES_PASSWORD=admin # Here it's important to keep the same name as the one configured inside ops_settings_docker.yml
- POSTGRES_DBNAME=gis # Here it's important to keep the same name as the one configured inside ops_settings_docker.yml
- ALLOW_IP_RANGE=0.0.0.0/0
ports:
Expand Down Expand Up @@ -61,7 +61,7 @@ services:
networks:
- poi_network
profiles:
- initialize
- init

update:
container_name: ops-update
Expand Down

0 comments on commit c94da0d

Please sign in to comment.