[READ-ONLY] Mirror of https://github.com/mrgnw/svelte-docker-tailscale. Run svelte apps in docker with Tailscale
0

Configure Feed

Select the types of activity you want to include in your feed.

5 2 0

Clone this repository

https://git.vm.fail/xcc.es/svelte-docker-tailscale https://git.vm.fail/did:plc:jjopdpbwguhbvbx42zd3pf3w
ssh://git@knot1.tangled.sh:2222/xcc.es/svelte-docker-tailscale ssh://git@knot1.tangled.sh:2222/did:plc:jjopdpbwguhbvbx42zd3pf3w

For self-hosted knots, clone URLs may differ based on your setup.


README.md

Svelte Docker Tailscale Template#

Add these files to an existing project#

TEMPLATE="https://raw.githubusercontent.com/mrgnw/svelte-docker-tailscale/main"
mkdir -p config
curl -O "$TEMPLATE/compose.yml" & \
curl -O "$TEMPLATE/Dockerfile" & \
curl -o config/serve.json $TEMPLATE/config/serve.json & \
(curl -s "$TEMPLATE/.env.example" | tee .env.example .env) & wait

echo "/tailscale" >> .gitignore

Creating a new project#

Use sv create to create a new svelte project

Features#

  • Easy URL access through Tailscale
  • Hot Module Reloading (HMR) support
  • Secure access from any device
  • Uses Bun for faster installs

Downside: It's not exposed locally on a port. It's only served to tailscale