The main Bubble source repository. Contains the Bubble API server, the web UI, documentation and utilities. https://getbubblenow.com
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

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 лет назад
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. {
  2. // name, password and description of the initial admin user
  3. "name": "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"
  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. // Required for TOTP-based authentication. Highly recommended.
  54. "TOTPAuthenticator": {},
  55. // OPTIONAL SERVICES
  56. // Comment out any services you have not configured
  57. // Required for sending emails
  58. "SmtpServer": {
  59. "config": {
  60. "tlsEnabled": true
  61. },
  62. "credentials": {
  63. "user": "your_smtp_username",
  64. "password": "your_smtp_password",
  65. "host": "your_smtp_server_hostname",
  66. "port": "your_smtp_server_port"
  67. }
  68. },
  69. // Required for sending SMS messages
  70. "TwilioSms": {
  71. "credentials": {
  72. "accountSID": "your_twilio_account_SID",
  73. "authToken": "your_twilio_auth_token",
  74. // text messages sent by Bubble will come "from" this phone number, must be in Twilio-compatible format
  75. "fromPhoneNumber": "your_twilio_from_number"
  76. }
  77. },
  78. // Required for locale and "nearest compute region" auto-detection
  79. "MaxMind": {
  80. "config": {
  81. // these values work for the free GeoLite database. you still have to specify an apiKey
  82. "url": "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=[[apiKey]]&suffix=tar.gz",
  83. "file": "GeoLite2-City_20[\\\\d]{6}/GeoLite2-City\\\\.mmdb"
  84. },
  85. "credentials": {"apiKey": "your_maxmind_api_key"}
  86. },
  87. // Required for "nearest compute region" auto-detection
  88. "GoogleGeoCoder": {
  89. "credentials": {"apiKey": "your_google_api_key"}
  90. },
  91. // Required for timezone auto-detection
  92. "GoogleGeoTime": {
  93. "credentials": {"apiKey": "your_google_api_key"}
  94. }
  95. },
  96. // the domain that new Bubbles will be launched within
  97. "domain": {
  98. "publicDns": "Route53Dns or GoDaddyDns", // name of a DNS provider configured above
  99. "name": "example.com" // a domain name that you own, that is managed by the DNS provider named in `publicDns`
  100. }
  101. }