Skip to content

IRDG2OI/rstudio-geoflow-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rstudio Server geoflow customized for G2OI project

This image is based on official rocker/geospatial image itself based on rocker/verse image. It adds a few feature, such as:

  • geoflow: a simplified metadata publishing tool using a simple configuration file and data spreadsheet. geoflow also allows the publication of data and matadata in spatial data infrastructures (SDI). It uses other libraries like
  • geometa: Tools for Reading and Writing ISO/OGC Geographic Metadata
  • geonapi: 'GeoNetwork' API R Interface
  • geosapi: 'GeoServer' REST API R Interface
  • ows4R: Interface to OGC Web-Services (OWS) like owslib in Python
  • atom4R: Tools to Handle and Publish Metadata as 'Atom' XML Format
  • zen4R: Interface to 'Zenodo' REST API to publish DOI (Digital Object identfifier)

Additionnally

  • grass: powerful raster, vector, and geospatial processing engines

Build image

docker build . -t g2oi/rstudio-geoflow:4.2.2

Run RStudio container

Simply run:

docker run --rm -it -p8787:8787 -v $PWD/rstudio:/home --name rstudio g2oi/rstudio-geoflow-docker

or use docker compose with:

docker-compose up -d

Launch your web browser and go to http://<ipadress>:8787

Adding new users :

Documentation to be done

Removing auto deauth after 60 min idle or adjusting RStudio server persistent sign-in

Add or adjust rserver.conf as a volume in your docker container. Default configuration in this repository will not force you to sign-in again and you will stay sign-in for 30 days

$ cat rserver.conf
rsession-which-r=/usr/local/bin/R
# use legacy auth behavior
auth-timeout-minutes=0
auth-stay-signed-in-days=30

Source: Stay sign-in has no effect

For docker run, add:

-v $PWD/rserver.conf:/etc/rstudio/rserver.conf

Or if you use docker-compose in volume section:

        - $PWD/rserver.conf:/etc/rstudio/rserver.conf

LDAP, SSO:

Authenticating users

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published