Update docker_quickstart.md

Got help in the discord chat to get the UI running, I think most people will need this...
This commit is contained in:
jonny07 2021-10-05 21:33:15 +02:00 committed by GitHub
parent 92f8f231af
commit 949d616082
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,6 +70,40 @@ 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 ft_userdata/docker-compose.yml:
'''bash
ports:
- "yourIPadress:8080:8080"
'''
Your ft_userdata/user_data/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:
Linux:
'''bash
sudo docker-compose down && sudo docker-compose pull && sudo docker-compose build && sudo docker-compose up -d
'''
Windows:
'''bash
docker-compose down && docker-compose pull && docker-compose build && 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`.