You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
342 B
Bash

#!/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