This commit is contained in:
2025-11-22 23:53:15 +00:00
parent 8cd042e3b1
commit d3cccdc8c8
4 changed files with 13 additions and 0 deletions

View File

@@ -138,6 +138,7 @@ services:
- node.hostname == crackbox
labels:
- "traefik.enable=true"
- "traefik.swarm.network=public"
- "traefik.http.routers.appwrite_api_http.entrypoints=web"
- "traefik.http.routers.appwrite_api_http.rule=Host(`aw.lab`) && PathPrefix(`/`)"
- "traefik.http.routers.appwrite_api_http.service=appwrite_api"
@@ -164,6 +165,7 @@ services:
- node.role == manager
labels:
- "traefik.enable=true"
- "traefik.swarm.network=public"
- "traefik.http.routers.appwrite_console_http.entrypoints=web"
- "traefik.http.routers.appwrite_console_http.rule=Host(`aw.lab`) && PathPrefix(`/console`)"
- "traefik.http.routers.appwrite_console_http.service=appwrite_console"
@@ -211,6 +213,7 @@ services:
- node.role == manager
labels:
- "traefik.enable=true"
- "traefik.swarm.network=public"
- "traefik.http.routers.appwrite_realtime_http.entrypoints=web"
- "traefik.http.routers.appwrite_realtime_http.rule=Host(`aw.lab`) && PathPrefix(`/v1/realtime`)"
- "traefik.http.routers.appwrite_realtime_http.priority=100"

View File

@@ -60,6 +60,7 @@ services:
labels:
- "traefik.enable=true"
- "traefik.swarm.network=public"
- "traefik.swarm.network=public"
- "traefik.http.routers.litellm.entrypoints=web"
- "traefik.http.routers.litellm.rule=Host(`llm.lab`) || Host(`llm.toy`)"
- "traefik.http.routers.litellm.service=litellm"

View File

@@ -11,6 +11,7 @@ services:
replicas: 1
labels:
traefik.enable: "true"
traefik.swarm.network: "public"
traefik.http.routers.auth.entrypoints: web
traefik.http.routers.auth.rule: Host(`auth.nhost.toy`)
traefik.http.routers.auth.service: auth
@@ -118,6 +119,7 @@ services:
replicas: 1
labels:
traefik.enable: "true"
traefik.swarm.network: "public"
traefik.http.routers.console.entrypoints: web
traefik.http.routers.console.rule: Host(`hasura.nhost.toy`) && PathPrefix(`/console`)
traefik.http.routers.console.service: console
@@ -187,6 +189,7 @@ services:
replicas: 1
labels:
traefik.enable: "true"
traefik.swarm.network: "public"
traefik.http.routers.dashboard.entrypoints: web
traefik.http.routers.dashboard.rule: Host(`nhost.toy`)
traefik.http.routers.dashboard.service: dashboard
@@ -220,6 +223,7 @@ services:
replicas: 1
labels:
traefik.enable: "true"
traefik.swarm.network: "public"
traefik.http.middlewares.replace-functions.replacepathregex.regex: /v1(/|$$)(.*)
traefik.http.middlewares.replace-functions.replacepathregex.replacement: /$$2
traefik.http.routers.functions.entrypoints: web
@@ -275,6 +279,7 @@ services:
replicas: 1
labels:
traefik.enable: "true"
traefik.swarm.network: "public"
traefik.http.middlewares.replace-graphql.replacepathregex.regex: /v1(/|$$)(.*)
traefik.http.middlewares.replace-graphql.replacepathregex.replacement: /v1/graphql$$2
traefik.http.routers.hasura.entrypoints: web
@@ -335,6 +340,7 @@ services:
replicas: 1
labels:
traefik.enable: "true"
traefik.swarm.network: "public"
traefik.http.routers.mailhog.entrypoints: web
traefik.http.routers.mailhog.rule: Host(`mail.nhost.toy`)
traefik.http.routers.mailhog.service: mailhog
@@ -443,6 +449,7 @@ services:
replicas: 1
labels:
traefik.enable: "true"
traefik.swarm.network: "public"
traefik.http.routers.storage.entrypoints: web
traefik.http.routers.storage.rule: Host(`stg.nhost.lab`) && PathPrefix(`/v1`)
traefik.http.routers.storage.service: storage

View File

@@ -81,6 +81,7 @@ services:
labels:
- "traefik.enable=true"
- "traefik.swarm.network=public"
- "traefik.swarm.network=public"
- "traefik.http.routers.openwebui.rule=Host(`chat.toy`)"
- "traefik.http.routers.openwebui.entrypoints=web"
- "traefik.http.routers.openwebui.service=openwebui"
@@ -149,6 +150,7 @@ services:
labels:
- "traefik.enable=true"
- "traefik.swarm.network=public"
- "traefik.swarm.network=public"
- "traefik.http.routers.ollama.rule=Host(`ollama.toy`)"
- "traefik.http.routers.ollama.entrypoints=web"
- "traefik.http.routers.ollama.service=ollama"