Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic Deployment #6

Open
4 of 8 tasks
orblivion opened this issue Jul 19, 2022 · 0 comments
Open
4 of 8 tasks

Basic Deployment #6

orblivion opened this issue Jul 19, 2022 · 0 comments
Assignees

Comments

@orblivion
Copy link
Collaborator

orblivion commented Jul 19, 2022

Right now it's running with supervisord and caddy.

We'd like to move to systemd, build binary with Github Actions, and deploy with ansible.

Github Actions

Note to self

  • Build app on git push
  • Darwin? (added challenge)
  • Windows? (added challenge)

Ansible

  • Wallet Sync Role: Pull built binary from Github
  • Wallet Sync Role: Configure systemd
  • Use caddy role
  • Finishing touches, actual deployment to test user server (The above works with some workarounds)

Deployed as part of the hub? See below.

No need for golang role if we use Github Actions for the binary.

Other

  • Update (or delete) the "hosting" directory of wallet-sync-server. Not sure if we want anything since our hosting details are hidden in the ansible repo. But maybe we can give a similar example systemd conf.

Question: Should this be deployed as part of the hub?

Positives:

  • Fewer types of things to deploy, for us and for self-hosters.
  • Fewer settings (custom servers to pick) for user.
  • Wallet sync may feel to user like a natural extension of the hub's responsibilities (even though to us, it's really not)

Negatives:

  • Switching sync servers might be glitchy, we haven't prioritized that
  • If users have trust issues that are different between hub and wallet sync
  • Users might just want their own wallet sync server but not their own hub?
  • Big one: If a user has two clients and wants different hubs but same accounts on them for whatever reason, they won't be able to sync.
@orblivion orblivion self-assigned this Aug 22, 2022
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

No branches or pull requests

1 participant