The main Bubble source repository. Contains the Bubble API server, the web UI, documentation and utilities. https://getbubblenow.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

docker-launcher.md 2.9 KiB

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. If you have cloned the main [Bubble git repository](https://git.bubblev.org/bubblev/bubble), you can run
  11. the launcher directly, without using `curl`.
  12. From the top-level directory of the Bubble source repository (usually called `bubble`), run:
  13. BUBBLE_PORT=8080 ./launcher
  14. There are a few other environment variables you can set to customize the launcher configuration.
  15. The header of the [launcher script](https://git.bubblev.org/bubblev/bubble/src/branch/master/launcher)
  16. describes all the launch options in detail.
  17. ## Docker Installation
  18. If you're running Windows, or if the above script has problems installing Docker,
  19. please [install Docker manually](https://docs.docker.com/engine/install/).
  20. If you're on Mac OS X or Linux, after installing Docker please re-run the above script.
  21. If you're on Windows or would like to run the Bubble docker image directly, follow the instructions below in "Manual Setup".
  22. ## Manual Setup
  23. The commands below assume:
  24. * you already have docker installed
  25. * the docker daemon is running
  26. * the current user has appropriate permissions to start docker containers
  27. ### Use the Latest Bubble Version
  28. To pull and run the Bubble Docker Launcher, open a terminal and run:
  29. BUBBLE_RELEASE_URL="https://jenkins.bubblev.org/public/releases/bubble/latest.txt"
  30. VERSION="$(curl -s ${BUBBLE_RELEASE_URL} | awk -F '_' '{print $2}' | awk -F '.' '{print $1"."$2"."$3}')"
  31. BUBBLE_TAG="getbubble/launcher:${VERSION}"
  32. docker pull ${BUBBLE_TAG}
  33. docker run -p 8090:8090 -t ${BUBBLE_TAG}
  34. ### Use a Specific Bubble Version
  35. If you know the specific version of Bubble you want, you can just grab that and run it:
  36. docker pull getbubble/launcher:1.5.5
  37. docker run -p 8090:8090 -t getbubble/launcher:1.5.5
  38. ## Activation
  39. Upon a successful startup, the bubble launcher will be listening on port 8090 (or whatever
  40. you set the `BUBBLE_PORT` environment variable to).
  41. Your Bubble is running locally in a "blank" mode.
  42. It needs an initial "root" account and some basic services configured.
  43. Open http://127.0.0.1:8090/ in a web browser to continue with activation.
  44. Follow the [Bubble Activation](activation.md) instructions to configure your Bubble.
  45. ## Launch a Bubble!
  46. Once your Bubble launcher has been activated, you can [launch a Bubble](launch-node-from-local.md)!