@@ -34,9 +34,9 @@ concern. Then you can enable log-rotation by either:
34
34
35
35
## Aliases
36
36
37
- Bash aliases for stopping and starting the stack are in the file
38
- ` .bash_aliases ` . To use them immediately and in future logins, run in a
39
- console:
37
+ Bash aliases for stopping and starting the stack and other common operations
38
+ are in the file ` .bash_aliases ` . To use them immediately and in future logins,
39
+ run in a console:
40
40
41
41
``` console
42
42
$ source ~ /IOTstack/.bash_aliases
@@ -45,13 +45,16 @@ $ echo ". ~/IOTstack/.bash_aliases" >> ~/.profile
45
45
46
46
These commands no longer need to be executed from the IOTstack directory and can be executed in any directory
47
47
48
- ``` console
49
- alias iotstack_up="docker-compose -f ~/IOTstack/docker-compose.yml up -d"
50
- alias iotstack_down="docker-compose -f ~/IOTstack/docker-compose.yml down"
51
- alias iotstack_start="docker-compose -f ~/IOTstack/docker-compose.yml start"
52
- alias iotstack_stop="docker-compose -f ~/IOTstack/docker-compose.yml stop"
53
- alias iotstack_update="docker-compose -f ~/IOTstack/docker-compose.yml pull"
54
- alias iotstack_build="docker-compose -f ~/IOTstack/docker-compose.yml build"
48
+ ``` bash title=".bash_aliases"
49
+ --8< -- " .bash_aliases"
55
50
```
56
51
57
- You can now type ` iotstack_up ` , they even accept additional parameters ` iotstack_stop portainer `
52
+ You can now type ` iotstack_up ` . The aliases also accept additional parameters,
53
+ e.g. ` iotstack_stop portainer ` .
54
+
55
+ The ` iotstack_update_docker_images ` alias will [ update docker images] (
56
+ http://localhost:8000/Updates/#recommended-update-only-docker-images ) to newest
57
+ released images, build and recreate containers. Do note that using this will
58
+ result in a broken containers from time to time, as upstream may release faulty
59
+ docker images. Have proper backups, or be prepared to manually pin a previous
60
+ release build by editing ` docker-compose.yml ` .
0 commit comments