HUB
Sign inSign up
application-engine-worker logo

netgrif/application-engine-worker

By netgrif

•Updated 6 days ago

Netgrif Application Engine worker with cluster, event-log and gRPC modules.

Image
Developer tools
Web servers
Content management system
0

168

netgrif/application-engine-worker repository overview

⁠Netgrif Application Engine Worker

Netgrif Application Engine (NAE) runtime image with the Netgrif Cloud Modules preinstalled, ready to join a Netgrif platform cluster.

Based on netgrif/application-engine⁠ image, started with the worker Spring profile.

Image is published as a multi-architecture manifest, so the same tag runs on both linux/amd64 and linux/arm64.

⁠Included modules

ModulePurpose
cluster-moduleNode registration with NAE Admin over gRPC, zones, node types (ENGINE, ENGINE_ROOT, SEARCH, PLUGIN) and cluster-wide services
event-log-moduleCaptures engine events in batches and exports them to Elasticsearch, MongoDB or rotating JSON files (optional REST API on /api/module/event-logs)
grpc-modulegRPC server and client infrastructure used by the cluster module

Modules are installed in /opt/netgrif/engine/modules.

⁠Requirements

  • A running NAE Admin node (gRPC endpoint, default port 9999)
  • MongoDB, Elasticsearch and Redis (MinIO for file storage, if used)

⁠Ports

PortProtocolPurpose
8080HTTPREST API and management endpoints (/manage/health)
9090gRPCInter-node communication

⁠Quick start

docker run -d --name nae-worker \
  -p 8080:8080 -p 9090:9090 \
  -e NETGRIF_WORKER_NODE_NAME="NAE Worker 1" \
  -e NETGRIF_WORKER_NODE_HOST=nae-worker \
  -e NETGRIF_WORKER_NODE_NODE_TYPE=ENGINE \
  -e NETGRIF_WORKER_NODE_ADMIN_NODE_HOST=nae-admin \
  -e NETGRIF_WORKER_NODE_ADMIN_NODE_GRPC_PORT=9999 \
  -e NETGRIF_ENGINE_DATA_MONGODB_URI=mongodb://nae-mongodb \
  -e NETGRIF_ENGINE_DATA_ELASTIC_URL=nae-elasticsearch \
  -e NETGRIF_ENGINE_DATA_REDIS_HOST=nae-redis \
  netgrif/netgrif-nae-worker:1.1.0

The node registers itself in NAE Admin on startup and becomes available for the configured zone (netgrif.worker.zone, default default).

⁠Configuration

All standard NAE netgrif.engine.* properties apply. Cluster-specific options use the netgrif.worker.node prefix:

  • name – node name shown in Admin
  • host – address the node advertises to the cluster
  • node-type – ENGINE (default), ENGINE_ROOT, SEARCH, PLUGIN
  • zone – zone the node belongs to
  • admin-node.host, admin-node.grpc-port – NAE Admin gRPC endpoint

Custom modules can be mounted to /opt/netgrif/engine/modules/custom.

The container runs as a non-root user (UID/GID 10001) and stops gracefully on SIGTERM.

⁠License

NETGRIF Community License 2.0: free for development, testing, evaluation, education, and other non-production use. Production use requires a commercial license from NETGRIF, s.r.o. See netgrif.com/license⁠.

Tag summary
Recent tags
Content type
Image
Digest
sha256:f7fe6f99f…
Size
271.4 MB
Last updated
6 days ago
docker pull netgrif/application-engine-worker:1.1.1