Fabian Peter Hammerle f77d66d639 replace env var RECIPIENT_ADDRESS with MAIL_TO (inserted in To: header, now supporting multiple recipients) | 3 years ago | |
---|---|---|
CHANGELOG.md | 3 years ago | |
Dockerfile | 3 years ago | |
README.md | 3 years ago | |
dma-package-log.url | 3 years ago | |
docker-compose.yml | 3 years ago | |
monitor.sh | 3 years ago |
send email via dma when tor .onion service goes online or offline
repo: https://github.com/fphammerle/docker-onion-service-status-mail
docker hub: https://hub.docker.com/r/fphammerle/onion-service-status-mail
signed image tags: https://github.com/fphammerle/docker-onion-service-status-mail/tags
$ sudo docker network create tor
$ sudo docker run -d --network tor \
--name tor_proxy \
fphammerle/tor-proxy
$ sudo docker run -d --network tor \
-e TOR_HOST=tor_proxy -e TOR_PORT=9050 \
-e ONION_SERVICE_HOST=change-me.onion \
-e ONION_SERVICE_PORT=80 \
-e MAIL_TO=me@example.com,someone@else.com \
--name onion_service_monitor \
fphammerle/onion-service-status-mail
git clone https://github.com/fphammerle/docker-onion-service-status-mail
docker-compose.yml
docker-compose up --build