From 9d744e00640f5bf8ab1ccc4c91357e5b393deacb Mon Sep 17 00:00:00 2001 From: jonny07 Date: Tue, 5 Oct 2021 21:22:10 +0200 Subject: [PATCH] Update docker_quickstart.md Got help in the discord chat to get the UI running, I think most people will need this... --- docs/docker_quickstart.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/docs/docker_quickstart.md b/docs/docker_quickstart.md index 27a9091b1..24aaa047a 100644 --- a/docs/docker_quickstart.md +++ b/docs/docker_quickstart.md @@ -70,6 +70,35 @@ docker-compose up -d !!! Warning "Default configuration" While the configuration generated will be mostly functional, you will still need to verify that all options correspond to what you want (like Pricing, pairlist, ...) before starting the bot. +#### Acessing the UI + +Uncommend the 2 lines below and add your IP adress in the following format (like 192.168.2.67:8080:8080) to the docker-compose.yml: +'''bash + ports: + - "yourIPadress:8080:8080" +''' +Your config.json should look like: +'''bash +api_server": { + "enabled": true, + "listen_ip_address": "0.0.0.0", + "listen_port": 8080, + "verbosity": "error", + "enable_openapi": false, + "jwt_secret_key": "****", + "CORS_origins": [], + "username": "****", + "password": "****" + }, +''' +instead of "****" you will have your data in. +Then rebuild your docker file +'''bash +on Ubuntu: +sudo docker-compose down && sudo docker-compose pull && sudo docker-compose build && sudo docker-compose up -d +''' +You can now access the UI by typing yourIPadress:8080 in your browser. + #### Monitoring the bot You can check for running instances with `docker-compose ps`.