Run the Community Edition
The OpenEPCIS EPCIS 2.0 repository as one open-source container for trying out, development and research, what it contains, what it leaves out, and how to capture and query a first event.
The Community Edition is the EPCIS 2.0 repository of OpenEPCIS as one container, under Apache-2.0. Release 0.9.4 came out on 2026-11-25, together with all OpenEPCIS modules on Maven Central. The repository epcis-repository-ce assembles it from the Maven Central artifacts of openepcis-core and openepcis-rest-quarkus, both public on GitHub under Apache-2.0, and carries the compose file used below. Nothing in the build comes from anywhere else, and a Maven enforcer refuses any Business edition artifact.
The image is ghcr.io/openepcis/openepcis-quarkus-rest-api-ce:0.9.4, also tagged latest and
stable, for linux/amd64 and linux/arm64.
For trying out, development and research. The Community Edition has no authentication:
every caller is admin, with the roles capture, query and admin, and sees all data. Nothing
in it is hardened. For production, run the Business edition.
What you get
- EPCIS 2.0 capture at
/capture, with validation, event hashing and deduplication. - Queries at
/eventsand named queries at/queries, with pagination that survives a reconnect. - Streaming subscriptions that fire the moment an event is indexed, delivered over WebSocket or webhook, and scheduled subscriptions. Scheduled subscriptions are kept in memory and are gone after a restart.
- JSON-LD and XML, EPCIS 2.0 and 1.2. Format conversion runs on XSLT.
- The extension schemas and JSON-LD contexts of the OpenEPCIS DPP extensions on ref.openepcis.org are part of the image. Events using them are captured without registering a schema and without network access.
- An OpenSearch event store and Kafka as the capture pipeline, both started by the compose file.
- OpenAPI under
/q/swagger-ui, health under/q/health.
What is not included
The Community Edition is single-tenant. It has no login, no OIDC, no basic authentication, no roles to assign and no API keys. There is no multi-tenancy, no document-level or field-level security, and no capture checks (possession and carrier checks, commissioning rules, the guard on webhook destinations). Onboarding, the streaming SAX converter, Azure Blob and S3 storage, the GS1 Germany synchronisation, the GS1 Conformant Resolver and the BeneTag extension are not part of it either. All of these belong to the Business edition, which builds on the same artifacts.
Prerequisites
Docker or Podman with Compose, and about 8 GB of memory for the containers. To build from source: Java 25.
Start it
The compose file stands alone, so there is nothing to clone:
curl -fsSLO https://raw.githubusercontent.com/openepcis/epcis-repository-ce/main/docker/docker-compose.yml
docker compose up -d --wait
The compose file starts OpenSearch, Kafka with the topics the pipeline needs, and the service.
--wait returns once the service is ready to capture, which takes about half a minute after the
images are pulled. The service listens on port 8080 of the loopback interface, and OpenSearch on
9200 likewise. When 8080 is taken, choose another port with
OPENEPCIS_PORT=18080 docker compose up -d --wait. docker compose down stops it,
docker compose down -v also deletes the captured data.
Capture an event
No call carries credentials, since there is nothing to log in to.
curl -fsSLO https://raw.githubusercontent.com/openepcis/epcis-repository-ce/main/examples/getting-started/object-event.json
curl -i -H 'Content-Type: application/json' \
--data @object-event.json \
http://localhost:8080/capture
The answer is 202 Accepted with a Location header naming the capture job. Poll it until
running is false. success tells you whether the document passed validation, errors why
it did not.
curl http://localhost:8080/capture/<captureID>
Events with an extension under a namespace of your own need a JSON Schema for it, registered
once at /userExtension/jsonSchema. The repository's
capture guide
shows the call, along with generated test events and the GS1 reference examples.
Query it
curl http://localhost:8080/events
curl -H 'Accept: application/xml' -H 'GS1-EPCIS-Version: 1.2.0' http://localhost:8080/events
The second call returns the same events as an EPCIS 1.2 query document.
Subscribe
Define a named query once, then subscribe to it. A streaming subscription delivers every matching event as it is indexed:
curl -H 'Content-Type: application/json' \
-d '{"name":"objectEvents","query":{"eventType":["ObjectEvent"]}}' \
http://localhost:8080/queries
curl -H 'Content-Type: application/json' \
-d '{"dest":"https://your-client.example/epcis","stream":true}' \
http://localhost:8080/queries/objectEvents/subscriptions
The service picks the delivery channel from the scheme of dest. A schedule in place of
stream makes it a scheduled subscription.
Security posture
There is none, by design. Anyone who reaches the port can capture, query and subscribe as
admin, and every subscription can call any URL. The compose file therefore publishes the service
and OpenSearch on 127.0.0.1 only. The image lets browsers call the API from localhost pages
only (CORS), so a web page from elsewhere cannot use it through your browser. OpenSearch runs
without its security plugin and Kafka in plaintext.
Run it on your own machine or in a closed network, never on the public internet.
| Variable | Default | What it does |
|---|---|---|
OPENEPCIS_PORT | 8080 | Host port of the service (compose file only) |
QUARKUS_OPENSEARCH_HOSTS | localhost:9200 | The OpenSearch cluster |
QUARKUS_OPENSEARCH_PROTOCOL | http | https when the cluster has TLS |
QUARKUS_OPENSEARCH_USERNAME, QUARKUS_OPENSEARCH_PASSWORD | empty | Credentials when the cluster has its security plugin |
KAFKA_BOOTSTRAP_SERVERS | localhost:9092 | The Kafka cluster |
STORAGE_LOCAL_PATH | /data/openepcis | Where captured documents are kept |
QUARKUS_HTTP_CORS_ORIGINS | localhost and 127.0.0.1, any port | Origins a browser may call the API from |
OTEL_SDK_DISABLED | true | false with an OTLP endpoint for traces |
Build from source
git clone https://github.com/openepcis/epcis-repository-ce.git
cd epcis-repository-ce
./mvnw -B clean verify
./mvnw -B clean package -DskipTests -Dquarkus.container-image.build=true
Java 25. The second command builds an image for linux/amd64 into the local Docker daemon with
Jib; on an ARM machine add -Dquarkus.jib.platforms=linux/arm64. The application is assembled
from io.openepcis:quarkus-rest-application and io.openepcis:quarkus-capture-topology.
From here to the Business edition
The Business edition runs on the same artifacts and the same data model, and it is the edition for production. It adds what surrounds the service: sign-in with Keycloak realms per tenant, OpenSearch with its security plugin and document-level security, capture checks, the resolver and the passport platform on top. Write to info@openepcis.io when a deployment grows into that. Vulnerabilities in the shared code go to the same address.