Comments (6)
I did test the develop branch, and got it all working. After that I decided to give the docker version a try again, and I did manage to get it to work too.
My setup looks like so: (10.0.0.157 is the IP of the system where my Freqtrade and Frequi are running on)
home/ft_userdata/user_data/config.json
...
...
"api_server": {
"enabled": true,
"listen_ip_address": "0.0.0.0",
"listen_port": 8080,
"verbosity": "info",
"jwt_secret_key": "somethingrandom",
"CORS_origins": ["http://10.0.0.157"],
"username": "54321",
"password": "12345"
...
...
home/ft_userdata/docker-compose.yml
---
version: '3'
services:
freqtrade:
image: freqtradeorg/freqtrade:stable
restart: unless-stopped
container_name: freqtrade
volumes:
- "./user_data:/freqtrade/user_data"
ports:
- "10.0.0.157:8080:8080"
command: >
trade
--logfile /freqtrade/user_data/logs/freqtrade.log
--db-url sqlite:////freqtrade/user_data/tradesv3.sqlite
--config /freqtrade/user_data/config.json
--strategy Simple
/home/frequi/docker-compose.yml
---
version: '3.8'
services:
frequi:
build:
context: .
dockerfile: "./Dockerfile"
image: frequi
# image: freqtradeorg/frequi:master
restart: unless-stopped
ports:
- "80:80"
After starting both "containers" I'm able to access the FreqUI and Freqtrader.
Use as URL (in my case) http://10.0.0.157, and when asked for API Url, use (again in my case) http://10.0.0.157:8080
Please note that this is within my LAN. I have all ports to 10.0.0.158 closed to to the real world.
from frequi.
if you're using the develop version, you do not need the frequi container anymore.
Simply navigate to the url of the freqtrade container's root url (probably 10.x:8080
and you should be up and running.
You'll also not need CORS with that setup.
from frequi.
That is correct, and as mentioned above I did manage to get that to work. However. I wanted to try this with the none dev. version.
from frequi.
you'll need to use a different port for Frequi.
You can't start 2 different processes (or docker-containers) that both use port 8080.
If it's just about using freqUI, i would recommend using the develop branch / image of freqtrade, which has freqUI included.
from frequi.
Thank you for the update Matthias,
Yes I did try this too., And I did manage to get them both up and running.
(I think that is was something like this)
Freqtrade / docker-compose.yml on "127.0.0.1:8081:8080"
Freqtrade / config.json on "0.0.0.0" and 8080
and FreqUI docker-compose.yml on 8080:80
However. When I tried to login, FreqUI kept telling me something about making sure that I could access the "ping" (witch I did), and that CORS needed to be setup.
Anyway. As this is a test setup I'm going to give the develop branch a run.
from frequi.
Then it's fine 👍
from frequi.
Related Issues (20)
- Chart / Graph Page spings forever HOT 1
- [FR] Add price change and % change to candles in UI chart HOT 4
- Conditional plotting HOT 2
- No chart in backtest mode HOT 3
- Chart settings appear off-screen in trade mode HOT 2
- Dockerfile failed HOT 2
- add a new column "Position Adjs" or "# of Orders" into the tables of "Open Trades" and "Closed Trades" HOT 7
- Hitting "Enter" key in Partial Exit prompt executes two orders HOT 1
- Organizing indicators in charts by polts HOT 5
- Problem when use freqtrade install-ui HOT 3
- in Backtesting / Load results: adding a column "Result" displaying backtest % profit HOT 2
- Cumulative Profit Chart is broken HOT 1
- FreqUI: Cumulative Profit slider does not seem to work. HOT 4
- CHANGE LOGO TO BENDER HOT 1
- wanna delete UI trade history. HOT 3
- Suggestion: add adjust order tag to FreqUI tooltip HOT 2
- Now the new frequi can't use backtesting
- FreqUI Telegram WebApp HOT 7
- Spam HOT 3
- spam HOT 3
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 frequi.