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 5c9c5b2
Show file tree
Hide file tree
Showing 12 changed files with 2,113 additions and 1,535 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
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
## [waffles.space](https://waffles.space)

[![Build Status](https://api.travis-ci.org/wafflespeanut/waffles.space.svg?branch=master)](https://travis-ci.org/wafflespeanut/waffles.space)

This repo contains the source for my [static server](./server) (in Rust, using [tide](https://github.com/rustasync/tide/)), assets and deployment scripts for my website (in an Ubuntu machine). All my apps are docker containers, exposed outside through an Nginx proxy (also in a docker container).
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 5c9c5b2

Please sign in to comment.