Preliminary docker compose stack configuration, containing: postgrest, pgHero, pgAdmin and underlying HAF instance.
To start full stack, let's use following command executed inside haf/example_deployment directory.
docker compose up -d
docker compose down -v
public and private network configurations to provide security
improve settings for docker insternal user(s) to avoid adding a+w permission for mapped volume
allow to redefine ports mapped to the host (or public network)
add explicit volume to pgAdmin, to make possible sharing files between host and pgAdmin
discover a way to pass a custom arguments to the underlying HAF instance (hived)
create a documentation
As further steps we need to create a documentation describing steps needed to define PostgREST endpoints and its handlers inside HAF database.
As another part of prototyping - similar (or derived config, maybe just by redefining some variables) should be prepared to use HAFAH as the application (instead of pure PostgREST image). Next should be prepared full-stack configuration covering HAFAH, Hivemind (sync) and Hivemind (server) processes and jussi on top to redirect calls to approprpiate services.