Setup and run
Environment¶
The default configuration will stand up the following environment:
- NGROK Traction Agent. An ngrok public endpoint for ACA-Py agent... see
ACAPY_HTTP_PORTenvironment variable (8030). - Traction Agent. Multitenanted Aca-Py with Traction Plugins
- Tenant Proxy. NGINX proxy for tenant API... see
TENANT_PROXY_PORTenvironment variable (8032). - Traction DB. Postgresql database for Traction Agent Aca-Py
- Tenant UI. Vue 3 application for innkeeper (tenant onboarding) and tenants... see
TENANT_UI_PORTenvironment variable (5101). - Endorser API. Controller for endorser running locally.
- Endorser Agent. Aca-Py configured for endorser role.
- Endorser DB. Postgresql database for Endorser Agent Aca-Py
Endpoints¶
Credentials¶
- innkeeper / change-me
External dependencies¶
- BCovrin Test ledger... see
ACAPY_GENESIS_URLenvironment variable (http://test.bcovrin.vonx.io/genesis). - previously registered Endorser DID... see
ACAPY_ENDORSER_PUBLIC_DIDenvironment variable.
start¶
- copy
.env-exampleto.envand adjust as necessary for your environment - bring up traction
build images directly¶
Assume starting in /scripts...
cd ../plugins/docker
docker build -f ./Dockerfile --tag traction:plugins-acapy ..
cd ../../services/aca-py
docker build -f ./Dockerfile.acapy --tag traction:traction-agent .
cd ../../scripts
docker compose up
stop¶
This will leave the volume (data) intact and available on restart.
teardown¶
This will remove the volume, so next start/up will re-recreate a new environment.