diff --git a/blueprints/geoserver/docker-compose.yml b/blueprints/geoserver/docker-compose.yml new file mode 100644 index 00000000..fdd4fc97 --- /dev/null +++ b/blueprints/geoserver/docker-compose.yml @@ -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: diff --git a/blueprints/geoserver/logo.png b/blueprints/geoserver/logo.png new file mode 100644 index 00000000..14ae15a6 Binary files /dev/null and b/blueprints/geoserver/logo.png differ diff --git a/blueprints/geoserver/logo.svg b/blueprints/geoserver/logo.svg new file mode 100644 index 00000000..e2f02fee --- /dev/null +++ b/blueprints/geoserver/logo.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/blueprints/geoserver/template.toml b/blueprints/geoserver/template.toml new file mode 100644 index 00000000..a975cc8e --- /dev/null +++ b/blueprints/geoserver/template.toml @@ -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 \ No newline at end of file diff --git a/meta.json b/meta.json index 7ac97b0b..ffaa70e2 100644 --- a/meta.json +++ b/meta.json @@ -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",