Bubble documentation
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

env_file.md 1.4 KiB

1234567891011121314151617181920212223
  1. # Bubble Environment File
  2. The Bubble API loads environment variables from the `~/.bubble.env` file.
  3. When running tests, the file `~/bubble-test.env` file is used.
  4. The settings in this file are used to populate variables in the [bubble-config.yml](https://git.bubblev.org/bubblev/bubble/src/branch/master/bubble-server/src/main/resources/bubble-config.yml) file
  5. (for tests, the [test-bubble-config.yml](https://git.bubblev.org/bubblev/bubble/src/branch/master/bubble-server/src/test/resources/test-bubble-config.yml) file is used).
  6. These yaml config files are loaded from within the Bubble JAR file itself, so if you change them, you'll need to rebuild the Bubble JAR file.
  7. Generally you won't usually have to change this file directly, since most of the interesting configuration options are set via environment variables,
  8. which are read from `~/.bubble.env` or `~/.bubble-test.env`.
  9. To simplify development, it is often easiest to set `~/bubble-test.env` to be a symlink to `~/.bubble.env`:
  10. `cd ${HOME} && ln -s .bubble.env .bubble-test.env`
  11. ## Environment Variables
  12. Variable | Required | Description
  13. --------------------|----------|----------------------------------
  14. PUBLIC_BASE_URI | ALL | URLs that refer back to the current bubble node will use this base URI
  15. LETSENCRYPT_EMAIL | ALL | Email address to use when performing one-time registration with LetsEncrypt, for creating SSL certificates