Conversation
There was a problem hiding this comment.
@wedge22 Thank you for your PR. Your PR is not reflecting the templates for .env and compose.yaml. Please change the naming conventions of the files and their contents to reflect the templates that can be found via the following link: https://github.com/tailscale-dev/ScaleTail/tree/main/templates/service-template
Updated as per guidelines
updating as per feedback
|
Thanks for the feedback, I've updated the files to match the template structure. Please let me know if anything else needs changing. |
jackspiering
left a comment
There was a problem hiding this comment.
Looks good to me. @crypt0rr please have a look and approve and merge if it looks good to you.
| #dns: | ||
| # - ${DNS_SERVER} | ||
| healthcheck: | ||
| test: ["CMD", "wget", "--spider", "-q", "http://127.0.0.1:41234/healthz"] # Check Tailscale has a Tailnet IP and is operational |
There was a problem hiding this comment.
In your PR additional notes you state:
The standard 41234/healthz health check endpoint is not available when using TS_USERSPACE=true. This config uses tailscale status as the health check instead.
In the current configuration I see the USERSPACE and health check back to the default configuration.
Please double check.
There was a problem hiding this comment.
Just tried locally with an already running service. Changed the variable TS_USERSPACE from false to true, restarted the service and still got the standard 41234/healthz healthcheck to work.
...
tailscale-nginx:
image: tailscale/tailscale:latest
container_name: tailscale-nginx
hostname: proxy
environment:
#- TS_AUTHKEY=
- TS_STATE_DIR=/var/lib/tailscale
# - TS_SERVE_CONFIG=/config/serve.json
**- TS_USERSPACE=true**
...
Updated the link format for Tailscale auth key in prerequisites.
Pull Request Title: Add Open WebUI service
Description
Adds a Tailscale sidecar configuration for Open WebUI, a self-hosted AI interface that supports Ollama and OpenAI-compatible APIs. This allows users to securely access their private AI interface from anywhere on their Tailnet without exposing it to the public internet.
Related Issues
N/A
Type of Change
How Has This Been Tested?
Checklist
README.md)Additional Notes
41234/healthzhealth check endpoint is not available when usingTS_USERSPACE=true. This config usestailscale statusas the health check instead.OLLAMA_BASE_URLcan point to a local Ollama instance, a remote machine on the LAN or Tailnet, or be left blank to configure an OpenAI-compatible API via the UI.