Atualizar headscale/headscale.yaml

This commit is contained in:
2025-03-26 17:43:44 +00:00
parent 602b53c693
commit 571da0d17a

34
headscale/headscale.yaml Normal file
View File

@@ -0,0 +1,34 @@
services:
app:
container_name: headscale
image: headscale/headscale:latest
command: serve
ports:
- '27896:8080'
- '27897:9090'
volumes:
- 'headscale_config:/etc/headscale/'
- 'headscale_data:/var/lib/headscale/'
networks:
- headscale_network
deploy:
replicas: 1
placement:
constraints:
- node.role == manager
resources:
limits:
cpus: "0.5"
memory: 512M
networks:
headscale_network:
driver: overlay
attachable: true
external: true
volumes:
headscale_config:
external: true
headscale_data:
external: true