Store service of the Common Provenance Framework.
This repository contains a docker-compose.yaml that runs:
- CPF Store (
cpf-store) - Neo4j (
cpf-neo4j) - Trusted Party (
cpf-trusted-party) - PostgreSQL for Trusted Party (
cpf-postgres)
- Docker Engine + Docker Compose installed on the machine where you run the stack.
- Both repositories cloned next to each other (sibling folders), because Trusted Party is built from
../CPF-Search-API/prov-storage/.
Example:
git clone git@github.com:Common-Provenance-Framework/CPF-Search-API.git
git clone git@github.com:Common-Provenance-Framework/CPF-Storage.gitRun commands from the CPF-Storage root directory.
STORE_URL is required by compose and must match the URL where this Store service is reachable by your clients.
Examples:
- Local machine:
http://localhost:8081/api/v1/ - Sandbox/server:
http://<server-ip-or-dns>:8081/api/v1/ - Reverse proxy/TLS:
https://store.example.com/api/v1/
cd CPF-Storage
export STORE_URL=http://localhost:8081/api/v1/
docker compose up --build --detachOne-shot alternative:
STORE_URL=http://localhost:8081/api/v1/ docker compose up --build --detachdocker compose ps
curl http://localhost:8081/health/
docker compose logs -f cpf-storeNote:
http://localhost:8081/health/is not implemented yet. At this stage, the following response is accepted:{ "code": "InternalError", "message": "*** Unhandled Server Error ***" }
docker compose downdocker compose down -v