Bubble documentation
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

env_file.md 1.4 KiB

vor 4 Jahren
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