Skip to content

Commit a74b87b

Browse files
authored
Merge pull request #9 from michaelcrobinson/awscli
awscli - Add snipper to install Pip and AWS CLI
2 parents 095a017 + 12ed88d commit a74b87b

File tree

6 files changed

+27
-3
lines changed

6 files changed

+27
-3
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,18 @@ production: # Environment
1313
sudo: true # Needed to install a package
1414
execute: true # Must be set to true for all snippets
1515
```
16+
17+
## weave_scope
18+
19+
If you want to install [weavescope](https://www.weave.works/products/weave-scope/) on your Docker stack use the following *last_thing* hook.
20+
```
21+
production: # Environment or your choice
22+
last_thing: # Importent to run the weavescope hook as the last thing during server deployment
23+
- snippet: cloud66/weave_scope # our weavescope snippet
24+
target: docker
25+
sudo: true
26+
execute: true
27+
run_on: all_servers #make sure weave scope is running on all servers and communicate to each other
28+
```
29+
30+
*Warning:* Weavescope will run on port 4040 which is not exposed to the outside world. If you want to access the UI change your firewall settings allowing traffic to port 4040. Make sure only you can access weavescope from your ip-address. With weavescope you can control all your running process and excute inside running containers. Take good care of those powers!

cloud66/awscli

Whitespace-only changes.

cloud66/bower

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
# {{Description: This deploy hook will run the following code snippet to automates the installation of the Bower package manager.}}
1+
# {{Description: This deploy hook will run the following code snippet to automates the installation of the Bower package manager.}}
2+
sudo apt-get install -y git-core nodejs npm nodejs-legacy
23
sudo npm install -g bower
34
yes | bower install --allow-root

cloud66/node_0_12

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# {{Description: This deploy hook will run the following code snippet to automate the installation of the Node.}}
22
sudo apt-get install software-properties-common python-software-properties -y
3-
curl -sL https://deb.nodesource.com/setup | sudo bash -
4-
sudo apt-get install -y nodejs
3+
curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash -
4+
sudo apt-get install -y nodejs

cloud66/node_5

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# {{Description: This deploy hook will run the following code snippet to automate the installation of Node.js v5.}}
2+
sudo apt-get install software-properties-common python-software-properties -y
3+
curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash -
4+
sudo apt-get install -y nodejs

cloud66/weave_scope

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# {{Description: This deploy hook will run the following code snippet to automates the installation of Weave Scope (a monitoring, visualisation & management tool for Docker).}}
2+
sudo wget -O /usr/local/bin/scope https://git.io/scope
3+
sudo chmod a+x /usr/local/bin/scope
4+
sudo scope launch

0 commit comments

Comments
 (0)