mirror of
https://github.com/puzzle/lightning-beer-tap.git
synced 2025-12-17 07:04:21 +01:00
Add Webhook command
This commit is contained in:
@@ -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
2
websocket_bridge/webhook.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
curl --socks5-hostname $TOR_HOST:$TOR_PORT $WEBHOOK_URL
|
||||
Reference in New Issue
Block a user