Commit 057d2763 authored by schmittu's avatar schmittu 🍺
Browse files

udpates

parent a048f2a2
......@@ -43,15 +43,15 @@ $ docker service update hatespeech_webservice
# Add new endpoint / new model
1. edit `config/nginx.conf` and add new endpoint (check "blick" example in this file)
2. edit `docker-compose.yml`
3. `docker stack deploy --compose-file ./docker-compose.yml hatespeech`
4. `docker service update hatespeech_nginx`
1. edit `config/nginx.conf` and add new endpoint (check "blick" example in this file).
2. edit `docker-compose.yml`, also adapt `MODEL_PATH`.
3. `docker stack deploy --compose-file ./docker-compose.yml hatespeech`.
4. `docker service update hatespeech_nginx`.
# Add new node
1. create new gpu node from template in science cloud
2. `./setup_worker.sh <IPADDRESS-GPU_NODE>`
3. check nodes `docker node ls`
4. to activate node rescale, e.g. `docker service scale hatespeech_default_webservice=4`. This has to be done even if the scale number is not changed!.
1. create new gpu node from template in science cloud.
2. `./setup_worker.sh <IPADDRESS-GPU_NODE>`.
3. check nodes `docker node ls`.
4. to activate node rescale, e.g. `docker service scale hatespeech_default_webservice=4`. This has to be done even if the scale number is not changed!
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment