Add Webhook command

This commit is contained in:
Thomas Philipona
2019-10-15 14:56:46 +02:00
parent 5d0e0dd1b5
commit 70b18e62bb
2 changed files with 2 additions and 14 deletions

View File

@@ -1,14 +0,0 @@
FROM fabric8/java-centos-openjdk8-jdk
MAINTAINER Thomas Philipona <philipona@puzzle.ch>
EXPOSE 9050
USER root
RUN yum install -y curl
RUN yum install -y epel-release && yum install -y tor
USER toranon
CMD tor

2
websocket_bridge/webhook.sh Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/bash
curl --socks5-hostname $TOR_HOST:$TOR_PORT $WEBHOOK_URL