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.

docker-launcher.md 3.3 KiB

4 lat temu
4 lat temu
4 lat temu
4 lat temu
4 lat temu
4 lat temu
4 lat temu
4 lat temu
4 lat temu
4 lat temu
4 lat temu
4 lat temu
4 lat temu
4 lat temu
4 lat temu
4 lat temu
4 lat temu
4 lat temu
4 lat temu
4 lat temu
4 lat temu
4 lat temu
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. Bubble Docker Launcher
  2. ======================
  3. The Bubble Docker Launcher makes it easy to run a Bubble launcher.
  4. ## Automatic Setup with the Launcher Script
  5. If you're running Linux or Mac OS X, try the launcher script first.
  6. This script will automatically install docker, pull the Bubble docker image and run it.
  7. /bin/bash -c "$(curl -sL https://git.bubblev.org/bubblev/bubble/raw/branch/master/launcher)"
  8. The launcher will listen on port 8090, you can change this by setting the `BUBBLE_PORT` environment variable:
  9. BUBBLE_PORT=8080 /bin/bash -c "$(curl -sL https://git.bubblev.org/bubblev/bubble/raw/branch/master/launcher)"
  10. There are a few other environment variables you can set to customize the launcher configuration.
  11. The header of the [launcher script](https://git.bubblev.org/bubblev/bubble/src/branch/master/launcher)
  12. describes all the launch options in detail.
  13. ### Running Launcher from Source
  14. If you have cloned the main [Bubble source repository](https://git.bubblev.org/bubblev/bubble), you can run
  15. the launcher directly, without using `curl`.
  16. From the top-level directory of the Bubble source repository (usually called `bubble`), run:
  17. ./launcher
  18. You can pass environment variables in the same way as described above.
  19. ## Docker Installation
  20. If you're running Windows, or if the above script has problems installing Docker,
  21. please [install Docker manually](https://docs.docker.com/engine/install/).
  22. If you're on Mac OS X or Linux, after installing Docker please re-run the above script.
  23. If you're on Windows or would like to run the Bubble docker image directly, follow the instructions below in "Manual Setup".
  24. ## Manual Setup
  25. If automatic installation has problems, or you are already comfortable working
  26. with Docker, you can use the manual Bubble Docker approach.
  27. All you need to do is pull and run the appropriate image from DockerHub.
  28. This section explains how to determine the most recent version tag, and
  29. then pull and run the docker image for that tag.
  30. The commands below assume:
  31. * you already have docker installed
  32. * the docker daemon is running
  33. * the current user has appropriate permissions to start docker containers
  34. ### Use the Latest Bubble Version
  35. To pull and run the Bubble Docker Launcher, open a terminal and run:
  36. BUBBLE_RELEASE_URL="https://jenkins.bubblev.org/public/releases/bubble/latest.txt"
  37. VERSION="$(curl -s ${BUBBLE_RELEASE_URL} | awk -F '_' '{print $2}' | awk -F '.' '{print $1"."$2"."$3}')"
  38. BUBBLE_TAG="getbubble/launcher:${VERSION}"
  39. docker pull ${BUBBLE_TAG}
  40. docker run -p 8090:8090 -t ${BUBBLE_TAG}
  41. ### Use a Specific Bubble Version
  42. If you know the specific version of Bubble you want, you can just grab that and run it:
  43. docker pull getbubble/launcher:1.5.11
  44. docker run -p 8090:8090 -t getbubble/launcher:1.5.11
  45. ## Activation
  46. Upon a successful startup, the bubble launcher will be listening on port 8090 (or whatever
  47. you set the `BUBBLE_PORT` environment variable to).
  48. Your Bubble is running locally in a "blank" mode.
  49. It needs an initial "root" account and some basic services configured.
  50. Open http://127.0.0.1:8090/ in a web browser to continue with activation.
  51. Follow the [Bubble Activation](activation.md) instructions to configure your Bubble.
  52. ## Launch a Bubble!
  53. Once your Bubble launcher has been activated, you can [launch a Bubble](launch-node-from-local.md)!