Skip to content

Commit

Permalink
Add scanner
Browse files Browse the repository at this point in the history
  • Loading branch information
wafflespeanut committed Jul 28, 2024
1 parent bb4e308 commit 3945f70
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 24 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
target/
.DS_Store
17 changes: 13 additions & 4 deletions scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ docker run --name static \
-e PRIVATE_SOURCE=/private \
-e CONFIG=/config/static_server_config.json \
-e LOG_LEVEL=info \
-e SMS_RECEIVER=${SMS_RECEIVER} \
-e AWS_REGION=${AWS_REGION} \
-e AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID} \
-e AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY} \
-d wafflespeanut/static-server

echo 'Launching ace game!'
Expand All @@ -31,6 +27,19 @@ docker run --name ace-away \
--network waffles \
-d wafflespeanut/ace-away

echo 'Launching onchain scanner...'
docker pull wafflespeanut/onchain-scanner
docker run --name scanner \
--restart always \
--network waffles \
-v /root/config:/config \
-e ADDR=localhost:3001 \
-e AUTH_KEY=${SCANNER_AUTH} \
-e AWS_ACCESS_KEY=${AWS_ACCESS_KEY=} \
-e AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY} \
-e CONFIG=/config/scanner-config.json \
-d wafflespeanut/onchain-scanner

echo 'Deploying Nginx proxy...'
docker run --name nginx \
--restart always \
Expand Down
20 changes: 0 additions & 20 deletions server/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3945f70

Please sign in to comment.