yasiryagi 1b6a250bb1 Storage documentation (#850) | 2 år sedan | |
---|---|---|
.. | ||
config | 2 år sedan | |
README.md | 2 år sedan | |
docker-compose.yml | 2 år sedan |
In joystream/distributor-node/config.yml configure the below section
logs:
elastic:
level: info
endpoint: https://<elasticsearch.your.cool.url>
In /etc/systemd/system/storage-node.service add the -e flag
ExecStart=/root/.volta/bin/yarn storage-node server \
-u ws://localhost:9944 \
-w <workerId> \
-o 3333 \
-l /<root/joystream-storage>/log/ \
-d /<root/joystream-storage> \
-q http://localhost:8081/graphql \
-p <Passowrd> \
-k /root/keys/storage-role-key.json \
-e https://<elasticsearch.your.cool.url> \
-s
git clone https://github.com/yasiryagi/elasticsearch-docker.git
cd elasticsearch-docker/client/
Edit config/packetbeat/packetbeat.yml:
Edit config/metricbeat/metricbeat.yml:
docker-compose up -d