mirror of
https://github.com/casjaysdevdocker/nodejs
synced 2026-06-24 02:01:05 -04:00
d7175f4972
- Add Dockerfile.24 and matching .env.scripts.24.
- Refresh per-version env scripts: .env.scripts.18, .env.scripts.20,
.env.scripts.22, .env.scripts.23.
- Update primary Dockerfile and Dockerfile.{18,20,22,23}: switch base
image PULL_URL from casjaysdev/debian to debian (DISTRO_VERSION
bookworm) and add MONGODB_VERSION=7.0 build arg.
- Add init.d entries: rootfs/usr/local/etc/docker/init.d/{mongodb,
nodejs}.
- Refresh
rootfs/usr/local/share/template-files/config/env/examples/mongodb.sh.
Dockerfile
Dockerfile.18
Dockerfile.20
Dockerfile.22
Dockerfile.23
Dockerfile.24
.env.scripts
.env.scripts.18
.env.scripts.20
.env.scripts.22
.env.scripts.23
.env.scripts.24
rootfs/usr/local/etc/docker/init.d/
rootfs/usr/local/share/template-files/config/env/examples/mongodb.sh
62 lines
2.5 KiB
Bash
62 lines
2.5 KiB
Bash
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
##@Version : 202511291011-git
|
|
# @@Author : CasjaysDev
|
|
# @@Contact : CasjaysDev <docker-admin@casjaysdev.pro>
|
|
# @@License : MIT
|
|
# @@Copyright : Copyright 2025 CasjaysDev
|
|
# @@Created : Tue Nov 29 10:11:00 AM EDT 2025
|
|
# @@File : .env.scripts.20
|
|
# @@Description : Variables for Node.js 20 build
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# entrypoint Settings
|
|
DOCKER_ENTYPOINT_PORTS_WEB="${DOCKER_ENTYPOINT_PORTS_WEB}"
|
|
DOCKER_ENTYPOINT_PORTS_SRV="${DOCKER_ENTYPOINT_PORTS_SRV}"
|
|
DOCKER_ENTYPOINT_HEALTH_APPS="$DOCKER_ENTYPOINT_HEALTH_APPS"
|
|
DOCKER_ENTYPOINT_HEALTH_ENDPOINTS="$DOCKER_ENTYPOINT_HEALTH_ENDPOINTS"
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# Dockerfile info
|
|
ENV_DOCKERFILE="Dockerfile.20"
|
|
ENV_IMAGE_NAME="nodejs"
|
|
ENV_USE_TEMPLATE="debian"
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# Maintainer info
|
|
ENV_ORG_NAME="casjaysdevdocker"
|
|
ENV_VENDOR="CasjaysDev"
|
|
ENV_AUTHOR="CasjaysDev"
|
|
ENV_MAINTAINER="CasjaysDev <docker-admin@casjaysdev.pro>"
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# REPO info
|
|
ENV_GIT_REPO_URL="https://github.com/casjaysdevdocker/nodejs"
|
|
ENV_REGISTRY_URL="docker.io"
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# Push image info
|
|
ENV_IMAGE_PUSH="casjaysdevdocker/nodejs"
|
|
ENV_IMAGE_TAG="20"
|
|
ENV_ADD_TAGS=""
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
ENV_ADD_IMAGE_PUSH=""
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# Pull image info
|
|
ENV_PULL_URL="debian"
|
|
ENV_DISTRO_TAG="latest"
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# Env
|
|
SERVICE_PORT="80"
|
|
EXPOSE_PORTS=""
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# Versions
|
|
PHP_VERSION="system"
|
|
NODE_VERSION="20"
|
|
NODE_MANAGER="system"
|
|
MONGODB_VERSION="7.0"
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# Default directories
|
|
WWW_ROOT_DIR="/usr/local/share/httpd/default"
|
|
DEFAULT_FILE_DIR="/usr/local/share/template-files"
|
|
DEFAULT_DATA_DIR="/usr/local/share/template-files/data"
|
|
DEFAULT_CONF_DIR="/usr/local/share/template-files/config"
|
|
DEFAULT_TEMPLATE_DIR="/usr/local/share/template-files/defaults"
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
ENV_PACKAGES="gnupg curl ca-certificates apt-transport-https"
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|