Skip to content

Commit

Permalink
Bump deps
Browse files Browse the repository at this point in the history
  • Loading branch information
wafflespeanut committed Apr 2, 2024
1 parent 046ba76 commit 64f8ce9
Show file tree
Hide file tree
Showing 11 changed files with 2,112 additions and 1,531 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:
build-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: docker/login-action@v1
- uses: actions/checkout@v4
- uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- uses: docker/build-push-action@v2
- uses: docker/build-push-action@v5
with:
context: ./server
push: true
Expand Down
7 changes: 0 additions & 7 deletions eigen-meta.json

This file was deleted.

12 changes: 6 additions & 6 deletions scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ docker pull wafflespeanut/rusty-sketch
docker run -t --rm --entrypoint sh -v "/root/source/ascii-gen":/out wafflespeanut/rusty-sketch -c "cp -rf /source/* /out/"
docker pull wafflespeanut/ace-away
docker run -t --rm --entrypoint sh -v "/root/source/ace-away":/out wafflespeanut/ace-away -c "cp -rf /dist/* /out/"
docker pull wafflespeanut/oi-vol-perf
mkdir -p private/oi-vol-perf
docker run -t --rm --entrypoint sh -v "/root/private/oi-vol-perf":/out wafflespeanut/oi-vol-perf -c "cp -rf /static/* /out/"
docker pull wafflespeanut/cryptofolio
mkdir -p private/cryptofolio
docker run -t --rm --entrypoint sh -v "/root/private/cryptofolio":/out wafflespeanut/cryptofolio -c "cp -rf /static/* /out/"
# docker pull wafflespeanut/oi-vol-perf
# mkdir -p private/oi-vol-perf
# docker run -t --rm --entrypoint sh -v "/root/private/oi-vol-perf":/out wafflespeanut/oi-vol-perf -c "cp -rf /static/* /out/"
# docker pull wafflespeanut/cryptofolio
# mkdir -p private/cryptofolio
# docker run -t --rm --entrypoint sh -v "/root/private/cryptofolio":/out wafflespeanut/cryptofolio -c "cp -rf /static/* /out/"

echo 'Copying site config...'
cp -r _site/source/* .
Expand Down
25 changes: 25 additions & 0 deletions scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,17 @@ docker run --name ace-away \
--network waffles \
-d wafflespeanut/ace-away

# echo 'Launching OI/Vol collector'
# docker pull wafflespeanut/oi-vol-perf
# docker run --name oi-vol \
# --cpus="0.25" \
# --memory="128m" \
# --restart always \
# -v /root/private/oi-vol-perf:/workdir \
# -e DISCORD_WEBHOOK_URL=${DISCORD_WEBHOOK_URL} \
# -d wafflespeanut/oi-vol-perf \
# python main.py /workdir

# echo 'Launching portfolio manager'
# docker pull wafflespeanut/cryptofolio
# docker run --name cryptofolio \
Expand All @@ -55,6 +66,20 @@ docker run --name ace-away \
# -e GATE_IO_SECRET=${GATE_IO_SECRET} \
# -d wafflespeanut/cryptofolio

# echo 'Launching trader...'
# docker pull wafflespeanut/teletrader
# docker run --name trader \
# --restart always \
# --network waffles \
# -v /root/config:/config \
# -e API_ID=${TELEGRAM_ID} \
# -e API_HASH=${TELEGRAM_HASH} \
# -e API_KEY=${BINANCE_KEY} \
# -e API_SECRET=${BINANCE_SECRET} \
# -e SESSION_PATH=/config/teletrader \
# -e STATE_PATH=/config/trader.json \
# -d wafflespeanut/teletrader

echo 'Deploying Nginx proxy...'
docker run --name nginx \
--restart always \
Expand Down
Loading

0 comments on commit 64f8ce9

Please sign in to comment.