fork 0k-charms
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
1.3 KiB

  1. # -*- ispell-local-dictionary: "english" -*-
  2. * Usage
  3. ** compose declaration
  4. No options are needed.
  5. #+begin_src yaml
  6. bluesky:
  7. charm: bluesky ## line is optional if your service name is "bluesky"
  8. #+end_src
  9. You might have to configure the domain, if you didn't do it already in
  10. the frontend service configuration with a service-map.
  11. #+begin_src yaml
  12. bluesky:
  13. charm: bluesky ## line is optional if your service name is "bluesky"
  14. relations:
  15. web-proxy:
  16. apache:
  17. domain: bsky.mydomain.org
  18. #+end_src
  19. You probably should also make sure that ~smtp-server~ relation is fulfilled if
  20. you want to be able to verify emails, you could for instance use ~stmp-stub~ to
  21. provide settings for an external SMTP service:
  22. #+begin_src yaml
  23. bluesky:
  24. # ...
  25. myemail:
  26. charm: smtp-stub
  27. options:
  28. port: 25
  29. connection-security: none # "none", "starttls", "ssl/tls"
  30. auth-method: none # "none", "password"
  31. user: myuser
  32. password: mypassword
  33. #+end_src
  34. Your SMTP might require a sensible email-from field, so to set it:
  35. #+begin_src yaml
  36. bluesky:
  37. # ...
  38. options:
  39. email-from: no-reply@mydomain.com
  40. #+end_src
  41. ** request a new invite
  42. To be able to add account, you need to create new invites from your
  43. PDS to give to people to create accounts.
  44. #+begin_src sh
  45. compose new-invite bluesky
  46. #+end_src