Skip to content
This repository has been archived by the owner on Jul 28, 2022. It is now read-only.

emmanuelCarre/openshift-rok4-cartridge

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Openshift Rok4 Cartridge

A cartridge for openshift that enables Rok4. It also runs the nginx server from gsterjov

Rok4 is a open source WMS/WMTS serveur, write in C++ allowing the diffusion of geo-referenced image data. Developed by teams Geoportail project of the National Institute of Geographic and Forest Information, it implements the open standards of the Open Geospatial Consortium (OGC) WMS 1.3.0 and 1.0.0 WMTS.

This cartridge is scalable on openshift.

Installation

To install this cartridge use the cartridge reflector when creating an app

rhc create-app myapp http://cartreflect-claytondev.rhcloud.com/reflect?github=renaudboulard/openshift-rok4-cartridge

Configuration

The cartridge installs two config files. One at $OPENSHIFT_NGINX_DIR/conf/nginx.conf which gets loaded by the executable and sets up specific app configuration such as logs and pid files.

The config then includes another nginx.conf which must exist at $OPENSHIFT_REPO_DIR/nginx.conf. This config should contain all your server specific set up including which ip/port to listen on.

The repo nginx.conf is actually seen in your repository as nginx.conf.erb so environment variables can be used in the config. Every time the server starts it first processes nginx.conf.erb.

A public/ folder is included where static content is served by default. However, as can be seen in the nginx.conf.erb file it is entirely configurable and only exists as a form of documentation.

About

An Nginx Cartridge for OpenShift

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 90.8%
  • Shell 9.2%