Skip to content

Commit 7877686

Browse files
committed
add Yaml snippet
1 parent be3b738 commit 7877686

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

documentation/weave_scope.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@
22

33
If you want to install weavescope on your Docker stack use the following last_thing hook.
44

5+
```yaml
56
production: # Environment or your choice
67
last_thing: # Importent to run the weavescope hook as the last thing during server deployment
78
- snippet: cloud66/weave_scope # our weavescope snippet
89
target: docker
910
sudo: true
1011
execute: true
1112
run_on: all_servers #make sure weave scope is running on all servers and communicate to each other
12-
13+
```
14+
1315
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!

0 commit comments

Comments
 (0)