Comments (3)
1st : create a file wait.sh in the same folder as your docker-compose file with this content:
#!/bin/bash
[ "$SLEEP" ] && sleep $SLEEP
freqtrade $@
2nd: add that to your docker-compose file for every container, specify the wait timer you wish and refer to your now-incoming Dockerfile for the freqtrade container itself, not for the proxy (your Dockerfile name / location might vary, just adapt ...):
freqtrade1:
environment:
SLEEP: "1"
build:
context: .
dockerfile: "Dockerfile"
3rd: refer to your Dockerfile in the docker-compose.yml and put in something like this:
FROM freqtradeorg/freqtrade:stable
USER root
RUN pip install pandas_ta
COPY wait.sh wait.sh
RUN chmod +x wait.sh
USER ftuser
ENTRYPOINT ["/bin/bash", "./wait.sh"]
from binance-proxy.
this proxy does not fully proxy everything
if you start 4 bots at once then it will bypass the volume queries 4x (volumepairlist) and hence IP ban you.
you will have to delay the startups of your bots for that. dont ever start more than 2 bots within the same minute to be safe.
I went to the 1m / bot approach even to never ever have issues then.
from binance-proxy.
how can I add a delay in between my service on my docker compose file ? is there a way to put a 2 min delay before it starts the next one ?
Also it is strange it only "bug" after 10 days and not at the start.
from binance-proxy.
Related Issues (12)
- Build Issues HOT 1
- Errors in binance-proxy docker HOT 2
- Error: Cannot find module '/usr/src/app' HOT 1
- error when start proxy-from source
- Resource Usage HOT 2
- error HOT 1
- Docker-compose - Windows - Network_mode: host not supported
- Request : Publish on Docker Repo HOT 1
- Error in FreqTrade HOT 12
- Plans to also support kraken? HOT 1
- clarification for installation needed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from binance-proxy.