blob: ee140fbe716632b2312198b2b42e01402559f8ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
---
services:
headscale:
image: headscale/headscale:stable-debug # until something better comes along with wget or i make my own dockerfile...
pull_policy: always
restart: unless-stopped
command: serve
volumes:
- ./config:/etc/headscale
- ./data:/var/lib/headscale
networks:
- proxy
environment:
- VIRTUAL_HOST={{ headscale_host }}
- VIRTUAL_PORT={{ headscale_port }}
- LETSENCRYPT_HOST={{ headscale_host }}
healthcheck:
test: ["CMD", "wget", "-qO", "-", "http://localhost:{{ headscale_port }}/health"]
interval: 10s
timeout: 5s
retries: 3
headscale-ui:
image: ghcr.io/gurucomputing/headscale-ui:latest
pull_policy: always
restart: unless-stopped
networks:
- proxy
environment:
- VIRTUAL_HOST={{ headscale_host }}
- VIRTUAL_PORT={{ headscale_port }}
- LETSENCRYPT_HOST={{ headscale_host }}
- VIRTUAL_PATH=/web/
- VIRTUAL_DEST=/web/
networks:
proxy:
external: true
|