Merge pull request #1825 from freqtrade/doc/docker

Improve docker documentation
This commit is contained in:
Misagh 2019-05-07 14:04:50 +02:00 committed by GitHub
commit a70830a7b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -237,14 +237,18 @@ docker run -d \
--name freqtrade \
-v /etc/localtime:/etc/localtime:ro \
-v ~/.freqtrade/config.json:/freqtrade/config.json \
-v ~/.freqtrade/user_data/:/freqtrade/user_data \
-v ~/.freqtrade/tradesv3.sqlite:/freqtrade/tradesv3.sqlite \
freqtrade --db-url sqlite:///tradesv3.sqlite
freqtrade --db-url sqlite:///tradesv3.sqlite --strategy MyAwesomeStrategy
```
!!! Note
db-url defaults to `sqlite:///tradesv3.sqlite` but it defaults to `sqlite://` if `dry_run=True` is being used.
To override this behaviour use a custom db-url value: i.e.: `--db-url sqlite:///tradesv3.dryrun.sqlite`
!!! Note
All command line arguments can be added to the end of the `docker run` command.
### 6. Monitor your Docker instance
You can then use the following commands to monitor and manage your container: