-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
38 lines (32 loc) · 1.03 KB
/
compose.yaml
File metadata and controls
38 lines (32 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: tailscale
x-daemonless:
title: "Tailscale"
icon: ":simple-tailscale:"
category: "Infrastructure"
description: "Zero-config mesh VPN built on WireGuard — securely connect your devices without port forwarding or firewall changes."
upstream_url: "https://github.com/tailscale/tailscale"
web_url: "https://tailscale.com/"
freshports_url: "https://www.freshports.org/security/tailscale/"
user: "root"
mlock: false
upstream_binary: false
appjail: true
docs:
env:
TS_AUTHKEY: "Optional: Tailscale Auth Key for automatic login"
TS_EXTRA_ARGS: "Optional: Additional arguments for tailscale up"
volumes:
/config: "State directory (tailscaled.state)"
services:
tailscale:
image: ghcr.io/daemonless/tailscale:latest
container_name: tailscale
restart: unless-stopped
# Needs devices for tun
devices:
- /dev/tun:/dev/tun
environment:
- TS_AUTHKEY=tskey-auth-xxxx
- TS_EXTRA_ARGS=--advertise-exit-node
volumes:
- /path/to/containers/tailscale:/config