forked from remyguercio/tailscale-mcp-echo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
29 lines (29 loc) · 754 Bytes
/
compose.yaml
File metadata and controls
29 lines (29 loc) · 754 Bytes
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
services:
ts-serve-echo-mcp:
image: tailscale/tailscale:latest
container_name: ts-serve-echo-mcp
hostname: ts-mcp-echo
environment:
- TS_AUTHKEY=${TS_AUTHKEY}
- TS_SERVE_CONFIG=/config/echo.json
- TS_STATE_DIR=/var/lib/tailscale
- TS_USERSPACE=false
- TS_AUTH_ONCE=true
volumes:
- ${PWD}/state:/var/lib/tailscale
- ${PWD}/config:/config
devices:
- /dev/net/tun:/dev/net/tun
cap_add:
- net_admin
restart: unless-stopped
echo-mcp:
build:
context: .
dockerfile: Dockerfile
image: ts-echo-mcp
container_name: ts-echo-mcp-container
network_mode: service:ts-serve-echo-mcp
depends_on:
- ts-serve-echo-mcp
restart: unless-stopped