mirror of
https://github.com/acedanger/docker.git
synced 2025-12-05 22:50:17 -08:00
cleaned up compose file
This commit is contained in:
@@ -3,7 +3,7 @@ services:
|
||||
image: cloudflare/cloudflared:latest
|
||||
container_name: cloudflare-tunnel
|
||||
restart: unless-stopped
|
||||
command: 'tunnel --no-autoupdate run --token ${CLOUDFLARE_TUNNEL_TOKEN}'
|
||||
command: tunnel --no-autoupdate run --token ${CLOUDFLARE_TUNNEL_TOKEN}
|
||||
depends_on:
|
||||
- tailscale
|
||||
tailscale:
|
||||
@@ -12,7 +12,8 @@ services:
|
||||
volumes:
|
||||
- ./tailscale:/var/lib # State data will be stored in this directory
|
||||
- /dev/net/tun:/dev/net/tun # Required for tailscale to work
|
||||
cap_add: # Required for tailscale to work
|
||||
cap_add:
|
||||
# Required for tailscale to work
|
||||
- net_admin
|
||||
- sys_module
|
||||
environment:
|
||||
@@ -21,3 +22,4 @@ services:
|
||||
command: tailscaled
|
||||
privileged: true
|
||||
restart: unless-stopped
|
||||
networks: {}
|
||||
|
||||
Reference in New Issue
Block a user