forked from tale/headplane
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
42 lines (41 loc) · 1019 Bytes
/
compose.yaml
File metadata and controls
42 lines (41 loc) · 1019 Bytes
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
40
41
42
# THIS IS A DEVELOPER CONFIGURATION FILE
# IT IS NOT AN EXAMPLE OF SOMETHING YOU DEPLOY
# I ONLY USE IT FOR DEVELOPING HEADPLANE
networks:
headplane-dev:
name: "headplane-dev"
driver: "bridge"
services:
caddy:
image: "caddy:2"
container_name: "headplane-caddy"
restart: "unless-stopped"
depends_on:
- "headscale"
networks:
- "headplane-dev"
ports:
- "80:80"
- "443:443"
volumes:
- "./Caddyfile:/etc/caddy/Caddyfile"
- "./test/caddy/data:/data"
- "./test/caddy/config:/config"
- "./test/caddy/certs:/certs"
headscale:
image: "headscale/headscale:0.27.0-debug"
container_name: "headscale"
labels:
me.tale.headplane.target: headscale
restart: "unless-stopped"
command: "serve"
networks:
- "headplane-dev"
volumes:
- "./.cache/headscale:/var/lib/headscale"
- "./test:/etc/headscale"
ports:
- "8080:8080"
- "9090:9090"
environment:
TZ: "America/New_York"