All Projects → soulteary → docker-njs

soulteary / docker-njs

Licence: MIT license
Pure njs(Nginx JavaScript) Docker image, more convenient for development and debugging.

Programming Languages

shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to docker-njs

dockerimages
🐳 Some dockerfiles based on alpine
Stars: ✭ 27 (+68.75%)
Mutual labels:  alpine
docker-network-tools
A Docker image with various network tools pre-installed.
Stars: ✭ 46 (+187.5%)
Mutual labels:  alpine
docker-terraform-docs
Alpine-based multistage-build version of terraform-docs and terraform-docs-replace in multiple versions to be used for CI and other reproducible automations
Stars: ✭ 59 (+268.75%)
Mutual labels:  alpine
docker-node-ci
The Docker image based on the official "node" image optimized for a CI environment
Stars: ✭ 18 (+12.5%)
Mutual labels:  alpine
docker-ansible
Alpine-based multistage-build version of Ansible for reproducible usage in CI
Stars: ✭ 168 (+950%)
Mutual labels:  alpine
mailbox
📨 簡易電子報發送系統,使用 #Golang 實作,send campaign mail with open, click tracker.
Stars: ✭ 26 (+62.5%)
Mutual labels:  alpine
node-docker
Guide for Writing Dockerfiles for Node.js Applications
Stars: ✭ 91 (+468.75%)
Mutual labels:  alpine
docker-logstash-alpine
Alpine Linux based Logstash Docker Image
Stars: ✭ 50 (+212.5%)
Mutual labels:  alpine
11ta-template
Deeply customizable, full-featured, ready to publish blog template built with 11ty, TailwindCSS, & Alpine.js
Stars: ✭ 98 (+512.5%)
Mutual labels:  alpine
nghttp2-alpine
Minimal nghttp2 docker image with ALPN support
Stars: ✭ 14 (-12.5%)
Mutual labels:  alpine
torpool
Containerized pool of multiple Tor instances with load balancing and HTTP proxy.
Stars: ✭ 42 (+162.5%)
Mutual labels:  alpine
docker-dataset
Docker database images with pre-populated data for testing and/or practice.
Stars: ✭ 35 (+118.75%)
Mutual labels:  alpine
adoteumdev
The AdoteUmDev project
Stars: ✭ 101 (+531.25%)
Mutual labels:  alpine
alpine-qbittorrent-openvpn
qBittorrent docker container with OpenVPN client running as unprivileged user on alpine linux
Stars: ✭ 230 (+1337.5%)
Mutual labels:  alpine
docker-alpine-python2
The smallest Docker image with Python 2.7 (~50MB)
Stars: ✭ 36 (+125%)
Mutual labels:  alpine
alpine-grafana
alpine-grafana
Stars: ✭ 14 (-12.5%)
Mutual labels:  alpine
docker-alpine
Docker Alpine Linux Base Images
Stars: ✭ 27 (+68.75%)
Mutual labels:  alpine
docker-nfs4
Simple containerized NFS v4 server running on Alpine Linux
Stars: ✭ 19 (+18.75%)
Mutual labels:  alpine
docker-squid
Squid in docker container based on Alpine Linux
Stars: ✭ 44 (+175%)
Mutual labels:  alpine
docker-opengl
Multi-Arch Docker - Mesa 3D OpenGL Software Rendering (Gallium) - LLVMpipe, and OpenSWR Drivers
Stars: ✭ 68 (+325%)
Mutual labels:  alpine

Docker Nginx JavaScript

Pure njs(Nginx JavaScript) Docker image, more convenient for development and debugging.

Quick reference

Supported tags and respective Dockerfile links

NJS 0.7.0 (Nginx 1.21.4+)

NJS 0.6.2 (Nginx 1.21.3+)

NJS 0.6.1 (Nginx 1.21.1+)

NJS 0.5.3 (Nginx 1.19.9 ~ 1.21.0+)

NJS 0.5.2 (Nginx 1.19.8)

NJS 0.5.1 (Nginx 1.19.7)

NJS 0.5.0 (Nginx 1.19.6)

NJS 0.4.4 (Nginx 1.17.10 ~ 1.19.5)

NJS 0.3.9 (Nginx 1.17.10-)

What is nginx/njs ?

Nginx (pronounced "engine-x") is an open source reverse proxy server for HTTP, HTTPS, SMTP, POP3, and IMAP protocols, as well as a load balancer, HTTP cache, and a web server (origin server). The nginx project started with a strong focus on high concurrency, high performance and low memory usage. It is licensed under the 2-clause BSD-like license and it runs on Linux, BSD variants, Mac OS X, Solaris, AIX, HP-UX, as well as on other *nix flavors. It also has a proof of concept port for Microsoft Windows.

wikipedia.org/wiki/Nginx

logo

njs is a subset of the JavaScript language that allows extending nginx functionality. njs is created in compliance with ECMAScript 5.1 (strict mode) with some ECMAScript 6 and later extensions. The compliance is still evolving.

nginx.org/en/docs/njs/

How to use this image

You can use it as repl server or executor.

Repl Server

Just run the most common docker command:

$ docker run -it --rm njs:0.5.0

Run a single njs script

You can run a njs script by using the njs Docker image directly:

$ docker run -it --rm --name my-running-script -v "$PWD":/app njs:0.5.0 /app/your-script.js

Image Variants

The njs images come in many flavors, each designed for a specific use case.

njs:<version> / njs:<version>-alpine

Strip njs from the nginx offical docker alpine image and re-use alpine system for packaging and building.

This image is based on the popular Alpine Linux project, available in the alpine official image. Alpine Linux is much smaller than most distribution base images (~5MB), and thus leads to much slimmer images in general.

njs:<version>-alpine-slim / njs:<version>-slim

Compressed alpine image.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].