40 lines
817 B
YAML
40 lines
817 B
YAML
version: "3.9"
|
|
|
|
services:
|
|
headscale:
|
|
image: headscale/headscale:0.22.3
|
|
restart: unless-stopped
|
|
container_name: headscale
|
|
volumes:
|
|
- /srv/docker/headscale/data:/var/lib/headscale
|
|
- /srv/docker/headscale/config:/etc/headscale
|
|
command: headscale serve
|
|
networks:
|
|
- proxy
|
|
env_file:
|
|
- env-vpn
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-size: "10m"
|
|
max-file: "3"
|
|
#headscale-admin:
|
|
# image: goodieshq/headscale-admin:latest
|
|
# container_name: headscale-admin
|
|
# restart: unless-stopped
|
|
# depends_on:
|
|
# - headscale
|
|
# networks:
|
|
# - proxy
|
|
# env_file:
|
|
# - env-vpn-ui
|
|
# logging:
|
|
# driver: "json-file"
|
|
# options:
|
|
# max-size: "10m"
|
|
# max-file: "3"
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|