13 lines
342 B
Bash
Executable File
13 lines
342 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# remove the container before running it again
|
|
docker rm -f matrix-alertbot >/dev/null 2>&1
|
|
|
|
# Room IDs on matrix looks something like this:
|
|
# !glUjViDcSW1RRoiy:yourhomeserver.com
|
|
#
|
|
docker run -d --name matrix-alertbot \
|
|
-p 8080:8080 -e MATRIX_ROOM_ID='YOUR_ROOM_ID_HERE' \
|
|
-v `pwd`/conf:/etc/matrixcli matrix/alertbot:latest
|
|
|