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 .env
vim .env
to change you secrets- (Optionally
vim Caddyfile
to swap out the site addresslocalhost
forhttp://136.164.122.12
oryoursite.com
.) docker compose up -d
- stop:
docker compose down
- rebuild:
docker compose build
- start:
docker compose up -d
curl -k https://localhost/processes
curl -k https://localhost/processes/14
curl -k -X POST https://localhost/processes/14/start
curl -k https://localhost/instances
curl -k https://localhost/instances/12