mirror of
https://github.com/LBRYFoundation/tracker.git
synced 2025-08-23 17:47:29 +00:00
README: fix docker instructions
This commit is contained in:
parent
b4c9c403cb
commit
7dda58a940
1 changed files with 6 additions and 3 deletions
|
@ -50,9 +50,12 @@ An explanation of the available keys can be found in [CONFIGURATION.md].
|
|||
### Docker
|
||||
|
||||
```sh
|
||||
$ docker pull quay.io/jzelinskie/chihaya:latest
|
||||
$ export CHIHAYA_LOG_LEVEL=5 # most verbose, and the default
|
||||
$ docker run -p 6880-6882:6880-6882 -v $PATH_TO_DIR_WITH_CONF_FILE:/config:ro -e quay.io/jzelinskie/chihaya:latest -v=$CHIHAYA_LOG_LEVEL
|
||||
# Create a config directory and download the example config
|
||||
mkdir $HOME/chihaya-config
|
||||
curl -L https://raw.githubusercontent.com/chihaya/chihaya/release-v1.0/example_config.json -o $HOME/chihaya-config/config.json
|
||||
|
||||
# Run the container with the config directory mounted
|
||||
docker run -p 6880-6882:6880-6882 -v $HOME/chihaya-config:/config:ro quay.io/jzelinskie/chihaya:v1.0.0 -v=5
|
||||
```
|
||||
|
||||
## Developing Chihaya
|
||||
|
|
Loading…
Add table
Reference in a new issue