The official ArunaCore Docker image repository.
Source code for the ArunaCore project can be found at https://github.com/ArunaBot/ArunaCore
ArunaCore is an open-source websocket server for intercommunication between applications, distributed as a Docker image in two variants:
Tag | Base image | Description |
---|---|---|
latest |
node:jod-slim |
Standard version based on Debian |
alpine |
node:jod-alpine |
Lightweight version based on Alpine Linux |
docker run -p 3000:3000 lobometalurgico/arunacore:latest
docker run -p 3000:3000 lobometalurgico/arunacore:alpine
You can also pull specific ArunaCore versions:
docker pull lobometalurgico/arunacore:1.0.0-BETA.3
docker pull lobometalurgico/arunacore:1.0.0-BETA.3-alpine
The ArunaCore Docker container always listens on port 3000 internally. This port is fixed and cannot be changed via environment variables inside the container.
To expose ArunaCore on a different port on your host machine, use Docker's port mapping feature. For example, to expose the service on port 8080 externally, run:
docker run -p 8080:3000 lobometalurgico/arunacore
In this example, the container still listens on port 3000 internally, but the host forwards traffic from port 8080 to the container's port 3000.
Note: The healthcheck endpoint also uses port 3000 internally and expects the service to be available there.
You can configure ArunaCore using environment variables by prefixing the configuration keys with ARUNACORE_
and capitalizing them. For nested properties, use underscores (_
). For example, to override port
, set ARUNACORE_PORT
.
Configuration Key | Environment Variable | Description | Default |
---|---|---|---|
id |
ARUNACORE_ID |
Service identifier | arunacore |
debug |
ARUNACORE_DEBUG |
Enable debug mode | false |
port |
ARUNACORE_PORT |
Service listening port (ignored inside container, always 3000) | 3000 |
autoLogEnd |
ARUNACORE_AUTOLOGEND |
Enable automatic logging on process end | true |
masterkey |
ARUNACORE_MASTERKEY |
Master key for privileged operations. If set to changeme (default), it will be ignored, disabling all functions that require it and showing a warning. |
changeme (ignored) |
requireAuth |
ARUNACORE_REQUIREAUTH |
Require authentication | false |
logger.coloredBackground |
ARUNACORE_LOGGER_COLOREDBACKGROUND |
Enable colored background in logger output | false |
logger.allLineColored |
ARUNACORE_LOGGER_ALLLINECOLORED |
Enable coloring of entire log lines | true |
Run with custom port and debug enabled (note: ARUNACORE_PORT
will be ignored inside the container, the port should be mapped with Docker):
docker run -p 8080:3000 -e ARUNACORE_DEBUG=true lobometalurgico/arunacore
Run with master key set (remember to use a strong key!):
docker run -e ARUNACORE_MASTERKEY=yourStrongMasterKey lobometalurgico/arunacore
Disable authentication:
docker run -e ARUNACORE_REQUIREAUTH=false lobometalurgico/arunacore
Report issues on GitHub:
https://github.com/ArunaBot/ArunaCore/issues
GPL-3.0
Maintained by LoboMetalurgico
Contact: [email protected]