Refactor librechat.yml to add placement constraints for libre-images and libre-logs

This commit is contained in:
2024-06-02 17:59:47 +08:00
parent a36f9aebd5
commit 0360e165f4
+4
View File
@@ -45,6 +45,10 @@ services:
- net
- traefik-public
deploy:
placement:
constraints:
- node.labels.librechat.libre-images == true
- node.labels.librechat.libre-logs == true
labels:
- traefik.enable=true
- traefik.docker.network=traefik-public