- Initial release,

- Based on rx3/server-mga9:1.2.7 image,
- Node.js V22.22.0.
This commit is contained in:
2026-02-05 16:04:03 +01:00
commit 0e737090e3
7 changed files with 134 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
*~
*.old

24
Dockerfile Normal file
View File

@@ -0,0 +1,24 @@
# Rx3-Docker/NodeJS Docker Image
#-------------------------------------------------------------------------------
ARG IMG_FROM_URL="rx3-docker/server:latest"
FROM ${IMG_FROM_URL}
ARG IMG_NAME
ARG IMG_NAME_FULL
ARG IMG_VERSION
ARG IMG_MAINTAINER
LABEL org.rx3.${IMG_NAME}.name=${IMG_NAME_FULL}
LABEL org.rx3.${IMG_NAME}.version=${IMG_VERSION}
LABEL org.rx3.${IMG_NAME}.maintainer=${IMG_MAINTAINER}
LABEL maintainer=${IMG_MAINTAINER}
RUN urpmi.update -a \
&& urpmi --force nodejs

18
ReadMe.txt Normal file
View File

@@ -0,0 +1,18 @@
Welcome to Rx3-Docker/NodeJS docker image!
This project aims to build a Node.js docker image used by other Rx3 packaging projects.
Features:
- Curtently based on rx3-docker/server:1.2.7-mga9 image,
- Node.js V22.22.0.
Enjoy it!
Your Rx3 Team.
--
arnaud@rx3.net
https://git.rx3.org/gitea/rx3-docker/nodejs

30
compose.yaml Normal file
View File

@@ -0,0 +1,30 @@
# Rx3-Docker/NodeJS Docker Image
#-------------------------------------------------------------------------------
name: ${SRV_IMG_NAME}
services:
server:
container_name: ${SRV_IMG_NAME}
hostname: ${SRV_IMG_NAME}
image: ${SRV_IMG_URL}
build:
context: .
args:
IMG_NAME: ${SRV_IMG_NAME}
IMG_NAME_FULL: ${SRV_IMG_NAME_FULL}
IMG_VERSION: ${SRV_IMG_VERSION}
IMG_MAINTAINER: ${SRV_IMG_MAINTAINER}
IMG_FROM_URL: ${SRV_IMG_FROM_URL}
restart: unless-stopped
volumes:
- ./${SRV_LOG_INIT_EXT}:${SRV_LOG_INIT_INT}
- ./${SRV_LOG_SV_EXT}:${SRV_LOG_SV_INT}
ports:
- "127.0.0.1:${SRV_PORT_SV_EXT}:${SRV_PORT_SV_INT}"

52
env.dist Normal file
View File

@@ -0,0 +1,52 @@
# Rx3-Docker/NodeJS Docker Image
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
# Global Settings
#-------------------------------------------------------------------------------
ORG_NAME="rx3-docker"
ORG_REGISTRY="docker.xor.rx3:5000"
ORG_MAINTAINER='"Arnaud G. GIBERT" <arnaud@rx3.net>'
ORG_URL_PREFIX="${ORG_REGISTRY}/${ORG_NAME}"
#-------------------------------------------------------------------------------
# Image Settings
#-------------------------------------------------------------------------------
HOST_NAME_PREFIX=""
PORT_ENV_OFFSET=0
PORT_SV_INT=9001
PORT_SV_OFFSET=1000
NETWORK_NAME=${HOST_NAME_PREFIX}
NETWORK_IF_NAME=br-${APPL_NAME_SHORT}-${APPL_ENV}
DOCKER_TOOLS_DEBUG=FALSE
DOCKER_TOOLS_VOLUME=SINGLE
#DOCKER_TOOLS_VOLUME=MIXED
#DOCKER_TOOLS_VOLUME=MERGED
#DOCKER_TOOLS_VOLUME=SPLIT
#DOCKER_TOOLS_EXEPTION_LIBS="postgres:pgsql"
#------------------+----------+--------------------------+--------------------+------------------+-------------------------------+----------------------+--------------------+---------------+------------+--------------+------------+-------+-------+-------+-------+--------------+--------------+
# | Variable | Service | Target Image | From Image | Module | Main Port | Admin Port | User | Group |
# | Prefix | Name | URL Prefix | Name | Name Full | Version | URL Prefix | Name | Version | Name | Version | Ext | Int | Ext | Int | Name / Id | Name / Id |
#------------------+----------+--------------------------+--------------------+------------------+-------------------------------+----------------------+--------------------+---------------+------------+--------------+------------+-------+-------+-------+-------+--------------+--------------+
docker_service_add SRV server ${ORG_URL_PREFIX} nodejs "Rx3-Docker/NodeJS" 1.0.0-mga9 ${ORG_URL_PREFIX} server 1.2.7-mga9 - - 8015 8080 - - apache apache
#-------------------------------------------------------------------------------
# User Settings
#-------------------------------------------------------------------------------
SERVER_CROND_ENABLED="FALSE"

4
var/log/init/.gitignore vendored Normal file
View File

@@ -0,0 +1,4 @@
# Ignore everything in this directory
*
# Except this file
!.gitignore

4
var/log/supervisor/.gitignore vendored Normal file
View File

@@ -0,0 +1,4 @@
# Ignore everything in this directory
*
# Except this file
!.gitignore