Sign inSign up

moonbuggy2000/alpine-s6-node-nginx

By moonbuggy2000

Updated over 1 year ago

Node.js in Alpine Linux with s6-overlay and Nginx

Image
0

10K+

moonbuggy2000/alpine-s6-node-nginx repository overview

alpine-s6-node-nginx

Nginx is configured as reverse proxy, proxying to a Node.js app running on NODE_PORT.

Container Details

  • exposed port: 8080
  • config mount: /etc/nginx/http.d/

Environment

  • PUID - user ID to run as (default: 1000)
  • PGID - group ID to run as (default: 1000)
  • NGINX_LOG_ALL - enable logging of HTTP 200 and 300 responses (accepts: true, false default: false)
  • NGINX_PORT - outward facing Nginx port (default: 8080)
  • NODE_PORT - Node app port for Nginx to proxy to (default: 3000)
  • WEB_ROOT - default: /var/www/html
  • FIX_PERMISSIONS - run chown on WEB_ROOT during init (accepts: true, false default: false)
  • TZ - set timezone

GitHub: https://github.com/moonbuggy/docker-base-images

DockerHub: https://hub.docker.com/r/moonbuggy2000/alpine-s6-node-nginx

Tag summary

Content type

Image

Digest

sha256:0c6def783

Size

59.6 MB

Last updated

over 1 year ago

docker pull moonbuggy2000/alpine-s6-node-nginx:24.1.0