mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-08 07:25:23 +02:00
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:
27
blueprints/geoserver/docker-compose.yml
Normal file
27
blueprints/geoserver/docker-compose.yml
Normal 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:
|
||||
BIN
blueprints/geoserver/logo.png
Normal file
BIN
blueprints/geoserver/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
21
blueprints/geoserver/logo.svg
Normal file
21
blueprints/geoserver/logo.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 25 KiB |
18
blueprints/geoserver/template.toml
Normal file
18
blueprints/geoserver/template.toml
Normal 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
|
||||
17
meta.json
17
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",
|
||||
|
||||
Reference in New Issue
Block a user