Rsync/CGI server for adaptive purposes
Go to file
dave ff2893b03b Fix ssh server key generation, update readme 2015-12-26 21:13:13 -08:00
examples/cgi-scripts Add better docs and comments, complete configs, change nginx & cgi user to nexus, add example scripts 2015-12-26 14:01:50 -08:00
.gitignore Add better docs and comments, complete configs, change nginx & cgi user to nexus, add example scripts 2015-12-26 14:01:50 -08:00
Dockerfile Fix ssh server key generation, update readme 2015-12-26 21:13:13 -08:00
README.md Fix ssh server key generation, update readme 2015-12-26 21:13:13 -08:00
clear-sockets Add better docs and comments, complete configs, change nginx & cgi user to nexus, add example scripts 2015-12-26 14:01:50 -08:00
gen-ssh Fix ssh server key generation, update readme 2015-12-26 21:13:13 -08:00
nginx-default Add better docs and comments, complete configs, change nginx & cgi user to nexus, add example scripts 2015-12-26 14:01:50 -08:00
nginx.conf Add better docs and comments, complete configs, change nginx & cgi user to nexus, add example scripts 2015-12-26 14:01:50 -08:00
start Remove base image dependency 2015-09-07 23:33:32 -07:00
supervisor-cron.conf Add better docs and comments, complete configs, change nginx & cgi user to nexus, add example scripts 2015-12-26 14:01:50 -08:00
supervisor-fcgiwrap.conf Add better docs and comments, complete configs, change nginx & cgi user to nexus, add example scripts 2015-12-26 14:01:50 -08:00
supervisor-nginx.conf Add better docs and comments, complete configs, change nginx & cgi user to nexus, add example scripts 2015-12-26 14:01:50 -08:00
supervisor-sshd.conf Add better docs and comments, complete configs, change nginx & cgi user to nexus, add example scripts 2015-12-26 14:01:50 -08:00
supervisor.conf Remove base image dependency 2015-09-07 23:33:32 -07:00

README.md

docker-nexus

A nginx/cgi/sshd server for prototyping services or data hubs.

Quick start

  • Clone: git clone ssh://git@gitlab.xmopx.net:222/dave/docker-nexus.git
  • Build: cd docker-nexus ; docker build -t nexus .
  • Run: docker run nexus

Usage

Nexus offers a couple services:

SSHD

For shell related activities, an sshd daemon runs on the standard port. Username and password, by default, is nexus.

Nginx

For accessing data or calling CGI scripts, nginx runs on the standard port. The document root is /nexus/.

CGI

Standard CGI scripts can be placed in /nexus/cgi-bin/. Some sample scripts exist in ./examples/cgi-scripts/.

Cron

Cron is present in the container.

Protips

  • Drop executable scripts into /startup.d/ for effortless startup tasks
  • Persistance? You want to mount these files/dirs outside the container:
    • /nexus/ - webroot and recommended data store
    • /etc/ssh/keys/ - sshd key file directory

TODO

  • Allow ssh password to be set by passing an env var
  • More sample CGI scripts