chore: add local headscale for testing

This commit is contained in:
Aarnav Tale 2024-03-28 14:58:00 -04:00
parent db9d08b7f3
commit c6435ae2b4
No known key found for this signature in database
2 changed files with 20 additions and 1 deletions

19
compose.yaml Normal file
View File

@ -0,0 +1,19 @@
version: '3.9'
networks:
headplane-dev:
name: 'headplane-dev'
driver: 'bridge'
services:
headscale:
image: 'headscale/headscale:0.23.0-alpha5'
container_name: 'headscale'
command: 'serve'
networks:
- 'headplane-dev'
volumes:
- './.cache/headscale:/var/lib/headscale'
- './test:/etc/headscale'
ports:
- '8080:8080'
environment:
TZ: 'America/New_York'

View File

@ -10,7 +10,7 @@
#
# https://myheadscale.example.com:443
#
server_url: https://tailscale.example.com
server_url: http://localhost:8080
# Address to listen to / bind to on the server
#