Skip to content

Commit

Permalink
Add docker-run.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
weibeld committed Aug 14, 2018
1 parent 1258c31 commit f675649
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docker-run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/bash

TAG=${1:-core-0.0.1}

# Set values before executing
TG_API_ID=
TG_API_HASH=
MAILGUN_API_KEY=
MAILGUN_SENDING_ADDRESS=
AMQP_URI=

docker run --rm -d \
-e TG_API_ID="$TG_API_ID" \
-e TG_API_HASH="$TG_API_HASH" \
-e MAILGUN_API_KEY="$MAILGUN_API_KEY" \
-e MAILGUN_DOMAIN="$MAILGUN_DOMAIN" \
-e MAILGUN_SENDING_ADDRESS="$MAILGUN_SENDING_ADDRESS" \
-e AMQP_URI="$AMQP_URI" \
-v tg-monitor:/var/tmp/tg-monitor \
weibeld/tg-monitor:"$TAG"

0 comments on commit f675649

Please sign in to comment.