Bläddra i källkod

openwebui: lisa prod_net (avalik tee), port 3010 tailnet-only (100.87.1.24)

ardo 1 månad sedan
förälder
incheckning
27d0592b92
1 ändrade filer med 4 tillägg och 1 borttagningar
  1. 4 1
      third/server/openwebui/docker-compose.yml

+ 4 - 1
third/server/openwebui/docker-compose.yml

@@ -15,7 +15,7 @@ services:
     ports:
       # Kui kasutad tailscale'i siis
       #- "127.0.0.1:3000:8080"
-      - "3010:8080"
+      - "100.87.1.24:3010:8080"   # ainult tailnet; avalikult läbi prod (openwebui.odamus.com)
     #env_file:
       #- /data/docker/open-webui/.env
     volumes:
@@ -99,6 +99,7 @@ services:
       - 'TOOL_SERVER_CONNECTIONS=[{"url":"http://mcp-filesystem-sse:3100/mcp","path":"","type":"mcp","auth_type":"none","key":"","headers":{},"config":{"enable":true,"access_grants":[]},"info":{"id":"filesystem","name":"Filesystem","description":"YOU CAN AND MUST USE THIS TOOL to create directories, write files, and read files on the server. Creates parent directories automatically. Use write_file to save code files. Allowed paths: /projects/data, /data, /scripts, /backups"}},{"url":"http://mcp-terminal:3110/mcp","path":"","type":"mcp","auth_type":"none","key":"","headers":{},"config":{"enable":true,"access_grants":[]},"info":{"id":"terminal","name":"Terminal","description":"YOU CAN AND MUST USE THIS TOOL to execute shell commands (mkdir, npm, npx, node, ng, python3, ls, cat). Also provides write_file and create_directory tools for saving files. This has WORKING WRITE ACCESS to /projects/data"}}]'
     networks:
       - ai_network
+      - prod_net
     ulimits:
       nofile:
         soft: 65536
@@ -151,3 +152,5 @@ networks:
   ai_network:
     external: true
     name: main_ai_network
+  prod_net:
+    external: true