Skip to content

feat: add homegate docker service#8

Open
ovitrif wants to merge 2 commits into
mainfrom
feat/homegate-docker
Open

feat: add homegate docker service#8
ovitrif wants to merge 2 commits into
mainfrom
feat/homegate-docker

Conversation

@ovitrif
Copy link
Copy Markdown
Collaborator

@ovitrif ovitrif commented May 21, 2026

Summary

  • Add Homegate to the default Docker Compose stack with dedicated Homegate PostgreSQL storage
  • Include Homegate as a submodule so a recursive fresh clone has the source needed to build it
  • Add a local homeserver admin mock and mounted Homegate config so default startup does not need real Pubky Homeserver credentials
  • Keep Trezor User Env repo-owned: the macOS service starts by default via Compose, and the helper no longer reuses external Trezor containers
  • Update README and changelog to describe the final default-stack behavior

Test Plan

  • docker compose config --quiet
  • docker compose config --services includes homegate, homegate-postgres, homegate-admin-mock, and trezor-user-env-mac by default
  • docker compose config --profiles only lists trezor-linux
  • git diff --check origin/main..HEAD
  • bash -n scripts/trezor-emulator
  • ./scripts/trezor-emulator help
  • node --check homegate-admin-mock/server.js
  • Local admin mock smoke test: /info and /generate_signup_token with X-Admin-Password: admin
  • Local stack start: docker compose up -d
  • docker compose ps shows homegate, homegate-postgres, homegate-admin-mock, and trezor-user-env-mac running
  • curl http://localhost:6288/
  • curl -X POST http://localhost:6288/ip_verification
  • Full fresh-clone smoke test

@ovitrif ovitrif changed the title Add Homegate Docker profile feat: add homegate docker service May 21, 2026
@ovitrif ovitrif force-pushed the feat/homegate-docker branch from f32b5b6 to f1471ff Compare May 21, 2026 17:55
@ovitrif ovitrif requested review from piotr-iohk and pwltr May 21, 2026 17:55
@ovitrif ovitrif force-pushed the feat/homegate-docker branch from 779da2d to 633add3 Compare May 21, 2026 18:54
@ovitrif ovitrif enabled auto-merge May 21, 2026 19:21
@ovitrif ovitrif force-pushed the feat/homegate-docker branch 2 times, most recently from 8e23933 to 204d530 Compare May 21, 2026 20:10
@ovitrif ovitrif force-pushed the feat/homegate-docker branch from 204d530 to 0c52c35 Compare May 21, 2026 21:27
Comment thread homegate-config.toml
Comment on lines +12 to +13
max_verifications_per_week = 2
max_verifications_per_year = 4
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the reason for adding homegate is to be able to test profile creation I'd increase those a lot, otherwise it'll allow creating 2 profiles per session I believe.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also does it make sense to run this without a password?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants