Updated README.md with new command to apply pgo profiles from git on update

This commit is contained in:
DataHoarder 2023-07-21 00:58:31 +02:00
parent a57195b358
commit 2ddb4b0373
Signed by: DataHoarder
SSH key fingerprint: SHA256:OLTRf6Fl87G52SiR7sWLGNzlJt4WOX+tfI2yxo0z7xk

View file

@ -53,7 +53,11 @@ If you want to make changes to additional docker-compose settings, do not edit `
### Update / Apply new settings
Within the instance folder, run this command
```bash
$ git pull && docker-compose build --pull && docker-compose up -d && docker-compose restart tor site pgo-collector
$ git checkout -- '*/default.pgo'; \
git pull && \
docker-compose build --pull && \
docker-compose up -d && \
docker-compose restart tor site pgo-p2pool pgo-daemon pgo-web pgo-api
```
`docker-compose restart tor` is necessary due to the tor server not refreshing DNS of the containers.