Enviar arquivos para "headscale"
Commit da stack do Headscale
This commit is contained in:
34
headscale/headscale-stack.yaml
Normal file
34
headscale/headscale-stack.yaml
Normal 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
|
||||
Reference in New Issue
Block a user