Giter VIP home page Giter VIP logo

geonetwork-docker's Introduction

geonetwork-docker

Docker environments for different containers and uses.

Docker builds are posted on The 6th Column Project's docker index

General

Most containers are controlled by the same commands and have a similar construction

Commands


build.sh := to build the image
run.sh := to start it (-h for some options, default shared directory /tmp/`<image_name>`)
stop.sh := stop gracefully geonetwork (you must provide either the container shared directory (-c) or the container name (-C))

Architecture

For containers meant to be run as daemons, there will be a xinetd installed which will listen to some port (default 10101) which in turn starts a command handler passing commands to underlying scripts.

This construct is meant to be reused, so by adding a simple stop.sh script in image/container/controller.d which takes care of shutting down the container in some proper manner, you'll be able to properly shut down the container from your host by issuing:

nc $ip 10101 <<<stop

where $ip is the ip of the conainer holding it (so the access is effectively concelaid from the outside)

This is only one example. You may develop any other script that can be called from the outside in the same manner.

Implementations

  • search: elastic-search container
  • publisher: meta-data extractor which writes NetCDF files metadata to json and can send it directly to an elastic-search instance

geonetwork-docker's People

Contributors

gavinmbell avatar bluekvirus avatar

Watchers

Max G. Faraday avatar James Cloos avatar Claire T avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.