Note that this same adaptor pattern (using Caddy) can be used to create adaptors for any GovStack building block specification, and may be used to mock BB endpoints that have not yet been developed.
You need to have Docker and Docker Compose up and running to be able to run this repo. Install Docker and Docker Compose here.
After installing Docker, you may need to follow the steps here in order to execute Docker and Docker Compose without sudo.
To set up a demo, cd into that applications folder, copy the example env, set
your own secrets, then start up via docker compose.
cd << someApp >>cp .env.example .envvim .envto change you secrets- (Optionally
vim Caddyfileto swap out the site addresslocalhostforhttp://136.164.122.12oryoursite.com.) docker compose up -d
- stop:
docker compose down - rebuild:
docker compose build - start:
docker compose up -d
curl -k https://localhost/processescurl -k https://localhost/processes/14curl -k -X POST https://localhost/processes/14/startcurl -k https://localhost/instancescurl -k https://localhost/instances/12