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

126 строки
4.4 KiB

  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. }