Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions gaia/.envs-common
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# envs-common
FQDN=127.0.0.1:8080
SMTPHOST=smtp
SMTPPORT=25
23 changes: 23 additions & 0 deletions gaia/.envs-database-georchestra
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# envs-database-georchestra
PGHOST=database
PGPORT=5432
PGDATABASE=georchestra
PGUSER=georchestra
PGPASSWORD=georchestra

POSTGRES_USER=${PGUSER}
POSTGRES_PASSWORD=${PGPASSWORD}

# extra env var for jdbc
GEODATA_PGDATABASE=${PGDATABASE}
GEODATA_PGHOST=${PGHOST}
GEODATA_PGPORT=${PGPORT}
GEODATA_PGUSER=${PGUSER}
GEODATA_PGPASSWORD=${PGPASSWORD}

# extra env for gs jdbc/gwc
GWC_PGDATABASE=${PGDATABASE}
GWC_PGHOST=${PGHOST}
GWC_PGPORT=${PGPORT}
GWC_PGUSERNAME=${PGUSER}
GWC_PGPASSWORD=${PGPASSWORD}
13 changes: 13 additions & 0 deletions gaia/.envs-elastic
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
ES_USERNAME=elastic
ES_PASSWORD=changeme

# Only needed for the built-in elasticsearch
ELASTIC_PASSWORD=${ES_PASSWORD}

# Disable SSL for Elasticsearch
xpack.security.transport.ssl.enabled: false
xpack.security.http.ssl.enabled: false

#In order to use Kibana, you need to set the password for the kibana_system user.
#docker exec -it es01 bin/elasticsearch-reset-password -u kibana_system
#KIBANA_PASSWORD=<your_kibana_password>
22 changes: 22 additions & 0 deletions gaia/.envs-hosts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
ANALYTICS_HOST=analytics
CAS_HOST=cas
CONSOLE_HOST=console
GEONETWORK_HOST=geonetwork
GEOSERVER_HOST=geoserver
HEADER_HOST=header
GEOWEBCACHE_HOST=geowebcache
MAPSTORE_HOST=mapstore
DATAFEEDER_HOST=datafeeder
IMPORT_HOST=import
DATAHUB_HOST=datahub
OGC_API_RECORDS_HOST=ogc-api-records
KB_HOST=kibana
KB_PORT=5601
ES_HOST=elasticsearch
ES_PORT=9200
RABBITMQ_HOST=rabbitmq

# needed for geonetwork entrypoint DO NOT REMOVE
CONSOLE_URL=http://${CONSOLE_HOST}:8080
# needed for kibana DO NOT REMOVE
ELASTICSEARCH_HOSTS=http://${ES_HOST}:${ES_PORT}
10 changes: 10 additions & 0 deletions gaia/.envs-ldap
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# envs-ldap
LDAPHOST=ldap
LDAPPORT=389
LDAPSCHEME=ldap
LDAPBASEDN=dc=georchestra,dc=org
LDAPADMINDN=cn=admin,dc=georchestra,dc=org
LDAPADMINPASSWORD=secret
LDAPUSERSRDN=ou=users
LDAPROLESRDN=ou=roles
LDAPORGSRDN=ou=orgs
12 changes: 12 additions & 0 deletions gaia/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Sample docker compose for gaia

```
docker compose up -d
cd volumes
sudo chown 999:999 geonetwork_datadir geoserver_* postgresql -R
docker compose down && docker compose up -d
```

open http://127.0.0.1:8080/login

go to http://127.0.0.1:8080/gaia/
20 changes: 20 additions & 0 deletions gaia/datadir/console/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Console

## Instructions to create a minimalistic GeoJSON file

`ogr2ogr` is a great tool, it allows at the same time to:
* convert from one format (here shapefile) to geojson
* filter out useless attributes (thus reducing the file size)
* reproject from the source SRS to the target SRS (EPSG:4326)

Exemple:
```
ogr2ogr -f geojson -s_srs EPSG:3857 -t_srs EPSG:4326 -select INSEE_COM,NOM_COM_M,INSEE_DEP cities.geojson cities.shp
```

The resulting geojson file is then imported into [mapshaper](https://mapshaper.org/), in order to reduce its complexity while retaining the shapes and topology.

Optionally, [geojson-precision](https://github.com/jczaplew/geojson-precision) can be applied on top, to further reduce the file size:
```
geojson-precision -p 4 cities.geojson final.geojson
```
362 changes: 362 additions & 0 deletions gaia/datadir/console/cities.geojson

Large diffs are not rendered by default.

Loading