feat: Add GeoServer & PostGIS blueprint (#919)

* Add GeoServer & PostGIS blueprint

* Add GeoServer blueprint metadata and logo

* Fix meta.json formatting and sorting

* Fix template.toml schema validation errors

* Remove invalid config.mounts from template.toml
This commit is contained in:
Shabani Magawila
2026-07-07 22:44:45 +03:00
committed by GitHub
parent a3d1efad02
commit bdda9b476b
5 changed files with 83 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
services:
geoserver:
image: kartoza/geoserver:2.24.1
depends_on:
- db
environment:
- GEOSERVER_ADMIN_USER=${GEOSERVER_ADMIN_USER}
- GEOSERVER_ADMIN_PASSWORD=${GEOSERVER_ADMIN_PASSWORD}
- INITIAL_MEMORY=${INITIAL_MEMORY}
- MAXIMUM_MEMORY=${MAXIMUM_MEMORY}
volumes:
- geoserver-data:/opt/geoserver/data_dir
restart: unless-stopped
db:
image: postgis/postgis:17-3.4
environment:
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_DB=${POSTGRES_DB}
volumes:
- postgis-data:/var/lib/postgresql/data
restart: unless-stopped
volumes:
geoserver-data:
postgis-data:

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 25 KiB

View File

@@ -0,0 +1,18 @@
[info]
name = "GeoServer & PostGIS"
description = "An open-source server for sharing geospatial data, paired with a PostGIS database. Template created and maintained by OpenGeoCity Tanzania (info@ogctz.org). For further assistance contact +255759968919 or visit https://opengeocity.org or github: https://github.com/ShabaniMagawila or linkedin: https://www.linkedin.com/in/shabani-magawila/"
version = "2.24.1"
[variables]
GEOSERVER_ADMIN_USER = "admin"
GEOSERVER_ADMIN_PASSWORD = "geoserver_secure"
INITIAL_MEMORY = "2G"
MAXIMUM_MEMORY = "4G"
POSTGRES_USER = "postgres"
POSTGRES_PASSWORD = "postgres_secure"
POSTGRES_DB = "gis"
[config]
[[config.domains]]
serviceName = "geoserver"
port = 8080

View File

@@ -2753,6 +2753,23 @@
"object-storage"
]
},
{
"id": "geoserver",
"name": "GeoServer & PostGIS",
"version": "2.24.1",
"description": "An open-source server for sharing geospatial data, paired with a PostGIS database. Template created and maintained by OpenGeoCity Tanzania (info@ogctz.org). For further assistance contact +255759968919 or visit https://opengeocity.org or github: https://github.com/ShabaniMagawila or linkedin: https://www.linkedin.com/in/shabani-magawila/",
"logo": "logo.png",
"links": {
"github": "https://github.com/geoserver/geoserver",
"website": "https://geoserver.org/",
"docs": "https://docs.geoserver.org/"
},
"tags": [
"geospatial",
"gis",
"postgis"
]
},
{
"id": "ghost",
"name": "Ghost",