immich readme
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
### Scale down
|
||||
|
||||
docker service scale immich_server=0
|
||||
docker service scale immich_machine-learning=0
|
||||
|
||||
|
||||
|
||||
### Place on rudolf-T
|
||||
|
||||
docker service update immich_server \
|
||||
--constraint-add node.hostname==rudolf-T \
|
||||
--constraint-rm node.hostname==odroid
|
||||
|
||||
docker service update immich_machine-learning \
|
||||
--constraint-add node.hostname==rudolf-T \
|
||||
--constraint-rm node.hostname==odroid
|
||||
|
||||
### Back to odroid
|
||||
|
||||
docker service update immich_server \
|
||||
--constraint-add node.hostname==odroid \
|
||||
--constraint-rm node.hostname==rudolf-T
|
||||
|
||||
docker service update immich_machine-learning \
|
||||
--constraint-add node.hostname==odroid \
|
||||
--constraint-rm node.hostname==rudolf-T
|
||||
|
||||
|
||||
|
||||
### Scale
|
||||
|
||||
docker service scale immich_server=1
|
||||
docker service scale immich_machine-learning=1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user