Refactor openwebui.yml to add placement constraints for manager node

This commit is contained in:
2024-06-10 14:45:54 +08:00
parent 15c1396ebb
commit 825697c134
+3
View File
@@ -14,6 +14,9 @@ services:
networks:
- traefik-public
deploy:
placement:
constraints:
- node.role == manager
labels:
- traefik.enable=true
- traefik.docker.network=traefik-public