NETGRIF Application Engine admin: cluster nodes, zones, processes, users, auth and configuration.
184
Administration and management service for the NETGRIF Application Engine (NAE) — the platform for building and running process-driven applications in the Petriflow language.
The image contains the admin backend (Java 21 / Spring Boot) with REST and gRPC APIs, plus the admin web console served
at /.
/config), application and frontend application propertiesrs0)docker pull netgrif/admin:1.1.0
Minimal compose.yaml:
services:
admin:
image: netgrif/admin:1.1.0
ports:
- "8888:8888" # HTTP
- "9999:9999" # gRPC
environment:
NETGRIF_ADMIN_NAMESPACE: netgrif
NETGRIF_ADMIN_HOST: admin
NETGRIF_ADMIN_DATA_MONGODB_URI: mongodb://mongo:27017/netgrif_admin?replicaSet=rs0
NETGRIF_ADMIN_DATA_REDIS_HOST: redis
NETGRIF_ADMIN_SETUP_ADMIN_PASSWORD: change-me
volumes:
- ./admin/storage:/opt/netgrif/admin/storage
- ./admin/log:/opt/netgrif/admin/log
depends_on:
mongo:
condition: service_healthy
redis:
condition: service_healthy
mongo:
image: mongo:8.0.3
command: [ "--replSet", "rs0", "--bind_ip_all" ]
healthcheck:
test: echo "try { rs.status() } catch (err) { rs.initiate({_id:'rs0',members:[{_id:0,host:'mongo:27017'}]}) }" | mongosh --port 27017 --quiet
interval: 5s
retries: 10
redis:
image: redis:7.4.1
healthcheck:
test: [ "CMD", "redis-cli", "ping" ]
interval: 5s
retries: 10
The container runs as non-root UID/GID 10001, so prepare the mounted folders accordingly:
mkdir -p admin/storage admin/log && sudo chown -R 10001:10001 admin
On the first start the service creates the Admin realm and the admin user. If NETGRIF_ADMIN_SETUP_ADMIN_PASSWORD
is not set, a random password is generated and printed to the container log.
| Port | Protocol | Description |
|---|---|---|
| 8888 | HTTP | REST API, admin console, /config |
| 9999 | gRPC | platform node API |
GET /manage/healthGET /manage/metric (Prometheus)/v3/api-docs, Swagger UI: /swagger-ui/index.htmlAll settings are environment variables. Dotted property names are accepted too, e.g.
netgrif.admin.setup.zones[0].name.
| Variable | Default | Description |
|---|---|---|
NETGRIF_ADMIN_NAMESPACE | — | required, platform namespace |
NETGRIF_ADMIN_HOST | localhost | hostname other nodes use to reach this container |
NETGRIF_ADMIN_REST_PORT | 8888 | HTTP listen port and advertised port |
NETGRIF_ADMIN_PROTOCOL | http | http or https |
NETGRIF_ADMIN_DATA_MONGODB_URI | mongodb://localhost:27017 | MongoDB connection string (replica set) |
NETGRIF_ADMIN_DATA_MONGODB_DATABASE | netgrif_admin | database name |
NETGRIF_ADMIN_DATA_REDIS_HOST | localhost | Redis host |
NETGRIF_ADMIN_DATA_REDIS_PORT | 6379 | Redis port |
NETGRIF_ADMIN_DATA_REDIS_PASSWORD | — | Redis password |
NETGRIF_ADMIN_SETUP_ADMIN_PASSWORD | random | password of the first admin user |
OTEL_SDK_DISABLED | true | enable OpenTelemetry export |
| Path | Content |
|---|---|
/opt/netgrif/admin/storage | uploaded process models |
/opt/netgrif/admin/modules | optional extension modules (JAR) |
/opt/netgrif/admin/log | log files |
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.
docker pull netgrif/admin:1.1.1