Sign inSign up

quadric/nsp

By quadric

Updated about 8 years ago

Installs `nsp` node module on node:8.9.3

Image
0

158

quadric/nsp repository overview

Docker Seed Images

This repo contains few custom docker seed images.

Summary of images

NameDescription
alpine:3.7Fix wget in alpine:3.7
envsubstenvsubst on alpine
hashicorp-packer-sh-entrypoint_1.1.2Update entrypoint of hashicorp/packer:1.1.2 to sh
jq:1.5-r4jq 1.5-r4 on alpine:3.7 .. alpine packages
lernalerna on node:8.9.3
meteor_baseCustom meteor base image based on abernix:meteord
mongo:3.2Install curl on mongo:3.2
mongo:3.4Install curl on mongo:3.4
mongo-connector:2.3Install mongo-connector 2.3 and correspondant depedencies on python 3.4
mongo-connector:2.5Install mongo-connector 2.5 and correspondant depedencies on python 3.4
pandasInstall python dependencies on top of python:3.6.3 to run tests in quadric network
serverless:node-8.9.3Installs serverless node module globally on node:8.9.3
nsp:node-8.9.3Installs nsp node module globally on node:8.9.3

Commands

  • Build an image:
docker build -t quadric/<name[:build]> <./context>
  • Push an image:
docker push quadric/<name[:build]>

Scripts

  • build-all.sh: Builds all images locally
  • push-all.sh: Pushes all images to quadric docker hub organization

Mongo-Connector

The images runs mongo-connector It uses configuration file with the path in variable: MONGO_CONNECTOR_CONFIG_FILE_PATH defaulting to /mongo-connector.config.json You can configure it either by sending the file as a volume, or create another image based on this and copy your config file to this path

Or set environment variable MONGO_CONNECTOR_CONFIG, this should contain a stringified config file If the file doesn't exist and the MONGO_CONNECTOR_CONFIG exists, I'll write it's content to the MONGO_CONNECTOR_CONFIG_FILE_PATH and start mongo-connector!

For the healthcheck I check the file in MONGO_CONNECTOR_OPLOG_FILE_SYMLINK_PATH which defaults to/symlink-oplog.timestamp to contain the MONGO_REPLICA_SET_NAME and in the run script I read the config file (before running) and set a symlink from the previous healthcheck path to the oplogfile path

Tag summary

Content type

Image

Digest

Size

260.1 MB

Last updated

about 8 years ago

docker pull quadric/nsp:node-8.9.3