Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • H haf
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 45
    • Issues 45
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 18
    • Merge requests 18
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • hivehive
  • haf
  • Merge requests
  • !217

Draft: support for docker compose to startup HAF based world

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Bartek Wrona requested to merge bw_example_compose_deployment into develop Jan 11, 2023
  • Overview 0
  • Commits 2
  • Pipelines 1
  • Changes 6

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

To stop: docker compose down -v

TODO:

  • 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.

Edited Jan 11, 2023 by Bartek Wrona
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: bw_example_compose_deployment