Flynn-host Bootstrapflynn is a good open source PAAs platform, based on Git and container technology, developing models and
Heroku is basically the same, and the way to build it is based on Heroku buildpacks
Installation
Official documentation tips are Ubuntu OS 16 and 14, so install it on Ubuntu
sudo bash < <(curl -fsSL https://dl.flynn.io/install-flynn)
- Effect
More long, waiting
Install Flynn’s runtime dependencies
Download, verify and install the flynn-host binary
Download and verify filesystem images for each of the Flynn components
Install an Upstart job for controlling the flynn-host daemon
Initializing a cluster
Test using a single machine
sudo flynn-host init --init-discovery
sudo systemctl start flynn-host
sudo systemctl status flynn-host
export CLUSTER_DOMAIN=demo.localflynn.com
flynn-host bootstrap --discovery https://discovery.flynn.io/clusters/410a77eb-63c6-495c-86df-c12aeef9e7f4
Note:
The cluster DNS cluster_domain=demo.localflynn.com needs to be configured first
Since the use of flannel ensures that there are flanel and FLUNNBR0 network interfaces, as follows:
Use (Official demo)
- Add a cluster
Refer to your actual address specifically
flynn cluster add -p wshSAUMXH/TWU0WmmivA1IWlo+wLFtxY9IBArpwopW0= default demo.localflynn.com d0e2cd73215044088745f68da8a6c165
remarks:
You may need to add a local host
nodeip demo.localflynn.com
nodeip controller.demo.localflynn .com
nodeip git.demo.localflynn .com
git clone https://github.com/flynn-examples/go-flynn-example
cd go-flynn-example
flynn create example
git remote -v
flynn resource add postgres
- View environment variables
flynn env
- git push (git push triggers build and deployment)
git push flynn master
curl -i example.demo.localflynn.com
Description
Flynn deployment and use is relatively simple, and heroku very similar, basically is the open source version of the Heroku
Dashboard interface
- Login Token
Flynn-a Dashboard env Get Login_token
Resources
Https://flynn.io/docs/installation/manual
Https://github.com/flynn/flynn
Https://flynn.io/docs/basics
<wiz_tmp_tag id= "Wiz-table-range-border" contenteditable= "false" style= "Display:none;" >
Flynn Open source PAAs platform installation trial