The main Bubble source repository. Contains the Bubble API server, the web UI, documentation and utilities. https://getbubblenow.com
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

activation.json 4.4 KiB

4 년 전
Introduce packer support (#18) cleanups and fixes, packer is ready to roll add errorApi endpoint initialize mitmproxy dependencies packer deployments finally working fix virtualenv call for ubuntu 20.04 WIP. update to ubuntu 20.04. fixing algo installation WIP. packer fixes remove unused constant WIP. packer basics working for ec2 Merge branch 'master' of git.bubblev.org:bubblev/bubble into cobbzilla/introduce_packer remove automation dir, all moved to resources log pg autovacuum if longer than 250ms touch install marker for algo set mitmproxy as owner of all mitmproxy files add hostname to packer image name avoid closing progress meter prematurely WIP. parallelize node startup, fix packer bugs clarify docs add missing vars, algo tweaks add missing vars, update algo hash WIP. improving algo/mitmproxy packer stuff install packer for sage, call packer from proper location Use compute driver to get regions improve comments wait longer before polling new vultr server, avoid spurious ok status unquote simple filenames WIP. Use packer key, no more instance ssh key. Change API installation. Simplify packer/ansible. rename bubble_finalizer to just finalizer, remove default_roles filter servers/images based on installType for now, consider packer image OK if bubble version matches add algo/mitm roles to packer. add installType to BubbleNode fix NODE_ROLES file templatize packer file and playbook, use same template for sage and node WIP: refactor addAllRegions WIP: do not re-create identical images WIP: packer build for vultr now working Merge branch 'master' of git.bubblev.org:bubblev/bubble into cobbzilla/introduce_packer WIP. working on vultr packer builds WIP: packer image creation working for digitalocean WIP: packer basics working for digitalocean add packer endpoints, introduce packer support to cloud compute drivers remove roles endpoints AnsibleRole is no longer an model entity. Introduce Packer. Merge branch 'sfedoriv/APIAddSupportForAmazonEC2ComputeCloudService' of git.bubblev.org:bubblev/bubble into sfedoriv/APIAddSupportForAmazonEC2ComputeCloudService Merge branch 'master' of git.bubblev.org:bubblev/bubble into sfedoriv/APIAddSupportForAmazonEC2ComputeCloudService Merge branch 'master' into sfedoriv/APIAddSupportForAmazonEC2ComputeCloudService Merge branch 'master' into sfedoriv/APIAddSupportForAmazonEC2ComputeCloudService Merge branch 'master' into sfedoriv/APIAddSupportForAmazonEC2ComputeCloudService Merge branch 'master' into sfedoriv/APIAddSupportForAmazonEC2ComputeCloudService Add instance count to script Co-authored-by: Jonathan Cobb <jonathan@kyuss.org> Co-authored-by: Svitlana <sfedoriv@itekako.com> Reviewed-on: https://git.bubblev.org/bubblev/bubble/pulls/18
4 년 전
4 년 전
Introduce packer support (#18) cleanups and fixes, packer is ready to roll add errorApi endpoint initialize mitmproxy dependencies packer deployments finally working fix virtualenv call for ubuntu 20.04 WIP. update to ubuntu 20.04. fixing algo installation WIP. packer fixes remove unused constant WIP. packer basics working for ec2 Merge branch 'master' of git.bubblev.org:bubblev/bubble into cobbzilla/introduce_packer remove automation dir, all moved to resources log pg autovacuum if longer than 250ms touch install marker for algo set mitmproxy as owner of all mitmproxy files add hostname to packer image name avoid closing progress meter prematurely WIP. parallelize node startup, fix packer bugs clarify docs add missing vars, algo tweaks add missing vars, update algo hash WIP. improving algo/mitmproxy packer stuff install packer for sage, call packer from proper location Use compute driver to get regions improve comments wait longer before polling new vultr server, avoid spurious ok status unquote simple filenames WIP. Use packer key, no more instance ssh key. Change API installation. Simplify packer/ansible. rename bubble_finalizer to just finalizer, remove default_roles filter servers/images based on installType for now, consider packer image OK if bubble version matches add algo/mitm roles to packer. add installType to BubbleNode fix NODE_ROLES file templatize packer file and playbook, use same template for sage and node WIP: refactor addAllRegions WIP: do not re-create identical images WIP: packer build for vultr now working Merge branch 'master' of git.bubblev.org:bubblev/bubble into cobbzilla/introduce_packer WIP. working on vultr packer builds WIP: packer image creation working for digitalocean WIP: packer basics working for digitalocean add packer endpoints, introduce packer support to cloud compute drivers remove roles endpoints AnsibleRole is no longer an model entity. Introduce Packer. Merge branch 'sfedoriv/APIAddSupportForAmazonEC2ComputeCloudService' of git.bubblev.org:bubblev/bubble into sfedoriv/APIAddSupportForAmazonEC2ComputeCloudService Merge branch 'master' of git.bubblev.org:bubblev/bubble into sfedoriv/APIAddSupportForAmazonEC2ComputeCloudService Merge branch 'master' into sfedoriv/APIAddSupportForAmazonEC2ComputeCloudService Merge branch 'master' into sfedoriv/APIAddSupportForAmazonEC2ComputeCloudService Merge branch 'master' into sfedoriv/APIAddSupportForAmazonEC2ComputeCloudService Merge branch 'master' into sfedoriv/APIAddSupportForAmazonEC2ComputeCloudService Add instance count to script Co-authored-by: Jonathan Cobb <jonathan@kyuss.org> Co-authored-by: Svitlana <sfedoriv@itekako.com> Reviewed-on: https://git.bubblev.org/bubblev/bubble/pulls/18
4 년 전
4 년 전
4 년 전
4 년 전
4 년 전
4 년 전
4 년 전
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. {
  2. // name, password and description of the initial admin user
  3. "name": "root", // do not change this, the initial admin user must be named root
  4. "password": "REPLACE WITH YOUR ROOT PASSWORD",
  5. "description": "root user",
  6. "cloudConfigs" : {
  7. // You must configure at least one of these DNS services
  8. // Comment the other one out if you're not going to use it
  9. "Route53Dns" : {
  10. "credentials" : {
  11. "AWS_ACCESS_KEY_ID": "your_aws_access_key_id",
  12. "AWS_SECRET_KEY": "your_aws_secret_key"
  13. }
  14. },
  15. "GoDaddyDns" : {
  16. "credentials" : {
  17. "GODADDY_API_KEY": "your_godaddy_api_key",
  18. "GODADDY_API_SECRET": "your_godaddy_api_secret"
  19. }
  20. },
  21. // You must configure at least one of these Compute services
  22. // Comment the other one out if you're not going to use it
  23. "VultrCompute": {
  24. "credentials": {"API-Key": "your_vultr_api_key"}
  25. },
  26. "DigitalOceanCompute": {
  27. "credentials": {"apiKey": "your_digitalocean_api_key"}
  28. },
  29. "AmazonEC2Driver" : {
  30. "config": {
  31. // region must be a valid value from the Regions enum: https://github.com/aws/aws-sdk-java/blob/master/aws-java-sdk-core/src/main/java/com/amazonaws/regions/Regions.java
  32. "region": "your_aws_region" // for example: us-east-1
  33. },
  34. "credentials" : {
  35. "AWS_ACCESS_KEY_ID": "your_aws_access_key_id",
  36. "AWS_SECRET_KEY": "your_aws_secret_key"
  37. }
  38. },
  39. // You must configure the AWS S3 Storage service in order to launch new Bubbles
  40. "S3Storage" : {
  41. "config": {
  42. // region must be a valid value from the Regions enum: https://github.com/aws/aws-sdk-java/blob/master/aws-java-sdk-core/src/main/java/com/amazonaws/regions/Regions.java
  43. "region": "US_EAST_1",
  44. "bucket": "must be a valid bucket name that the credentials can read/write/list/delete",
  45. "prefix": "", // optional: all paths for S3 operations will be prefixed with this path
  46. "listFetchSize": 100
  47. },
  48. "credentials" : {
  49. "AWS_ACCESS_KEY_ID": "your_aws_access_key_id",
  50. "AWS_SECRET_KEY": "your_aws_secret_key"
  51. }
  52. },
  53. // You must configure an email service, it is required to send emails
  54. // Comment out the email clouds that you don't use
  55. "SmtpEmail": {
  56. "config": {
  57. "tlsEnabled": true
  58. },
  59. "credentials": {
  60. "user": "your_smtp_username",
  61. "password": "your_smtp_password",
  62. "host": "your_smtp_server_hostname",
  63. "port": "your_smtp_server_port"
  64. }
  65. },
  66. "SendGridEmail": {
  67. "config": {},
  68. "credentials": {
  69. "apiKey": "your_sendgrid_api_key"
  70. }
  71. },
  72. "MailgunEmail": {
  73. "config": {},
  74. "credentials": {
  75. "domain": "your_mailgun_domain",
  76. "apiKey": "your_mailgun_api_key"
  77. }
  78. },
  79. // Required for TOTP-based authentication. Nothing to configure, just leave this as-is
  80. "TOTPAuthenticator": {},
  81. // Required for sending SMS messages. Currently only Twilio is supported
  82. "TwilioSms": {
  83. "credentials": {
  84. "accountSID": "your_twilio_account_SID",
  85. "authToken": "your_twilio_auth_token",
  86. // text messages sent by Bubble will come "from" this phone number, must be in Twilio-compatible format
  87. "fromPhoneNumber": "your_twilio_from_number"
  88. }
  89. },
  90. // Required for locale and "nearest compute region" auto-detection. Currently only MaxMind is supported.
  91. "MaxMind": {
  92. "config": {
  93. // these values work for the free GeoLite database, but you still have to specify an apiKey
  94. "url": "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=[[apiKey]]&suffix=tar.gz",
  95. "file": "GeoLite2-City_20[\\\\d]{6}/GeoLite2-City\\\\.mmdb"
  96. },
  97. "credentials": {"apiKey": "your_maxmind_api_key"}
  98. },
  99. // Required for "nearest compute region" auto-detection. Currently only Google GeoCoder is supported.
  100. "GoogleGeoCoder": {
  101. "credentials": {"apiKey": "your_google_api_key"}
  102. },
  103. // Required for timezone auto-detection. Currently only Google GeoTime is supported.
  104. "GoogleGeoTime": {
  105. "credentials": {"apiKey": "your_google_api_key"}
  106. }
  107. },
  108. // initial domain that new Bubbles will be launched within
  109. "domain": {
  110. "publicDns": "Route53Dns or GoDaddyDns", // name of a DNS provider configured above
  111. "name": "example.com" // a domain name that you own, that is managed by the DNS provider named in `publicDns`
  112. }
  113. }