---
title: "Run the Community Edition"
description: "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."
canonical_url: "https://openepcis.io/docs/platform-overview/community-edition"
last_updated: "2026-11-26T17:47:10.676Z"
---

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](https://github.com/openepcis/epcis-repository-ce)
assembles it from the Maven Central artifacts of
[openepcis-core](https://github.com/openepcis/openepcis-core) and
[openepcis-rest-quarkus](https://github.com/openepcis/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.

<alert type="warning">

**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](/docs/platform-overview/feature-matrix).

</alert>

## What you get

- EPCIS 2.0 capture at `/capture`, with validation, event hashing and deduplication.
- Queries at `/events` and 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](https://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](/docs/platform-overview/feature-matrix), 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:

```bash
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.

```bash
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.

```bash
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](https://github.com/openepcis/epcis-repository-ce/blob/main/examples/getting-started/CAPTURE.md)
shows the call, along with generated test events and the GS1 reference examples.

## Query it

```bash
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:

```bash
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.

<table>
<thead>
  <tr>
    <th>
      Variable
    </th>
    
    <th>
      Default
    </th>
    
    <th>
      What it does
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        OPENEPCIS_PORT
      </code>
    </td>
    
    <td>
      <code>
        8080
      </code>
    </td>
    
    <td>
      Host port of the service (compose file only)
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        QUARKUS_OPENSEARCH_HOSTS
      </code>
    </td>
    
    <td>
      <code>
        localhost:9200
      </code>
    </td>
    
    <td>
      The OpenSearch cluster
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        QUARKUS_OPENSEARCH_PROTOCOL
      </code>
    </td>
    
    <td>
      <code>
        http
      </code>
    </td>
    
    <td>
      <code>
        https
      </code>
      
       when the cluster has TLS
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        QUARKUS_OPENSEARCH_USERNAME
      </code>
      
      , <code>
        QUARKUS_OPENSEARCH_PASSWORD
      </code>
    </td>
    
    <td>
      empty
    </td>
    
    <td>
      Credentials when the cluster has its security plugin
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        KAFKA_BOOTSTRAP_SERVERS
      </code>
    </td>
    
    <td>
      <code>
        localhost:9092
      </code>
    </td>
    
    <td>
      The Kafka cluster
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        STORAGE_LOCAL_PATH
      </code>
    </td>
    
    <td>
      <code>
        /data/openepcis
      </code>
    </td>
    
    <td>
      Where captured documents are kept
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        QUARKUS_HTTP_CORS_ORIGINS
      </code>
    </td>
    
    <td>
      localhost and 127.0.0.1, any port
    </td>
    
    <td>
      Origins a browser may call the API from
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        OTEL_SDK_DISABLED
      </code>
    </td>
    
    <td>
      <code>
        true
      </code>
    </td>
    
    <td>
      <code>
        false
      </code>
      
       with an OTLP endpoint for traces
    </td>
  </tr>
</tbody>
</table>

## Build from source

```bash
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](mailto:info@openepcis.io) when a
deployment grows into that. Vulnerabilities in the shared code go to the same address.
