Skip to content

tailscale-dev/upsnap-docker-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

upsnap-docker-example

Example of a docker compose file and Serve configuration for UpSnap that adds Tailscale connectivity as a "sidecar." Created as part of the blog post: Make a dedicated Wake-on-LAN server with Tailscale.

See our blog post on Docker or YouTube video guide for more details and examples on configuring Tailscale inside containers.

To utilize this:

  1. Create a folder on the hosting system named upsnap
  2. Place compose.yaml inside the upsnap folder
  3. Create a sub-folder inside upsnap, named ts-upsnap
  4. Inside ts-upsnap, create folders state and config
  5. If you want to access UpSnap from a single URL with no port number, as its own Tailscale node, place upsnap.json inside the config folder.

With those pieces in place, from the upsnap folder, run: docker compose up -d

This should pull and start the container images for UpSnap and Tailscale, and (if you set it up) use upsnap.json to configure your container with Tailscale serve.

To check for Tailscale errors and issues, run: docker exec -it ts-upsnap tailscale status

About

Example of a docker compose file that adds Tailscale connectivity as a "sidecar"

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published