commit 513139a4f473bd34bdda682a745f2f9445d30b61 Author: jay Date: Tue Nov 25 09:56:38 2025 +0900 Add compose.yml diff --git a/compose.yml b/compose.yml new file mode 100644 index 0000000..811f7ab --- /dev/null +++ b/compose.yml @@ -0,0 +1,25 @@ +services: + headscale: + image: headscale/headscale:latest + container_name: headscale + volumes: + - ./container-config:/etc/headscale #This is the location of where the Headscale config.yaml is stored + - ./container-data/data:/var/lib/headscale + ports: + - 8080:8080 #Headscale will be listening on 8080, for this example we're going to map that to port 28080 on the host. + command: serve + restart: unless-stopped + networks: + bsej: + headscale-ui: + image: ghcr.io/gurucomputing/headscale-ui:latest + restart: unless-stopped + container_name: headscale-ui + ports: + - 8443:8443 #This is the port Headscale UI runs the web interface on. You can map 8443 to any port you wish. For this example I will leave it as is. + networks: + bsej: + +networks: + bsej: + external: true \ No newline at end of file