Skip to content

Instantly share code, notes, and snippets.

@ronoaldo
Created February 17, 2018 04:18
Show Gist options
  • Save ronoaldo/acc8f5c42d3434f028113f32592332b7 to your computer and use it in GitHub Desktop.
Save ronoaldo/acc8f5c42d3434f028113f32592332b7 to your computer and use it in GitHub Desktop.
ap-5r-launch.sh
#!/bin/bash
# Settings
SWGOH_USER=
SWGOH_PASS=
BOT1_TOKEN=
BOT2_TOKEN=
# First Instance
docker run --rm -it --name bot1 \
-e BOT_TOKEN=$BOT1_TOKEN \
-e SWGOH_USER=$SWGOH_USER \
-e SWGOH_PASS=$SWGOH_PASS
# Second Instance
docker run --rm -it --name bot2 \
-e BOT_TOKEN=$BOT2_TOKEN \
-e SWGOH_USER=$SWGOH_USER \
-e SWGOH_PASS=$SWGOH_PASS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment