The main Bubble source repository. Contains the Bubble API server, the web UI, documentation and utilities. https://getbubblenow.com
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 

111 wiersze
4.2 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 the an SMTP service, it is required to send emails
  54. // SendGrid, MailGun, or any other SMTP service should work fine
  55. "SmtpServer": {
  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. // Required for TOTP-based authentication. Nothing to configure, just leave this as-is
  67. "TOTPAuthenticator": {},
  68. // Required for sending SMS messages. Currently only Twilio is supported
  69. "TwilioSms": {
  70. "credentials": {
  71. "accountSID": "your_twilio_account_SID",
  72. "authToken": "your_twilio_auth_token",
  73. // text messages sent by Bubble will come "from" this phone number, must be in Twilio-compatible format
  74. "fromPhoneNumber": "your_twilio_from_number"
  75. }
  76. },
  77. // Required for locale and "nearest compute region" auto-detection. Currently only MaxMind is supported.
  78. "MaxMind": {
  79. "config": {
  80. // these values work for the free GeoLite database, but you still have to specify an apiKey
  81. "url": "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=[[apiKey]]&suffix=tar.gz",
  82. "file": "GeoLite2-City_20[\\\\d]{6}/GeoLite2-City\\\\.mmdb"
  83. },
  84. "credentials": {"apiKey": "your_maxmind_api_key"}
  85. },
  86. // Required for "nearest compute region" auto-detection. Currently only Google GeoCoder is supported.
  87. "GoogleGeoCoder": {
  88. "credentials": {"apiKey": "your_google_api_key"}
  89. },
  90. // Required for timezone auto-detection. Currently only Google GeoTime is supported.
  91. "GoogleGeoTime": {
  92. "credentials": {"apiKey": "your_google_api_key"}
  93. }
  94. },
  95. // initial domain that new Bubbles will be launched within
  96. "domain": {
  97. "publicDns": "Route53Dns or GoDaddyDns", // name of a DNS provider configured above
  98. "name": "example.com" // a domain name that you own, that is managed by the DNS provider named in `publicDns`
  99. }
  100. }