| 1234567891011121314151617181920212223242526272829303132333435 |
- services:
- headscale:
- image: headscale/headscale:stable
- container_name: headscale
- volumes:
- - /etc/timezone:/etc/timezone
- - /etc/localtime:/etc/localtime
- - ./headscale/config:/etc/headscale
- - ./headscale/data:/var/lib/headscale
- ports:
- - 3478:3478
- - 27896:8080
- command: serve
- restart: unless-stopped
- profiles:
- - headscale
- caddy-lan:
- image: caddy:latest
- network_mode: host
- restart: unless-stopped
- container_name: caddy-lan
- # ports:
- # - 9880:80
- volumes:
- - /etc/timezone:/etc/timezone
- - /etc/localtime:/etc/localtime
- - ./app/caddy-lan/lan.Caddyfile:/etc/caddy/Caddyfile
- - ./app/caddy-lan/site:/srv
- - ./app/caddy-lan/data:/data
- - ./app/caddy-lan/config:/config
- - ./app/caddy-lan/run:/run
- - ./app/caddy-lan/web:/mnt/caddy/web
- # extra_hosts:
- # - "host.docker.internal:host-gateway"
|