mirror of
https://github.com/nickyeoman/docker-compose-cookbooks.git
synced 2026-09-04 02:46:23 +00:00
fix first batch of _dev stacks: authentik, directus, duplicati, filebrowser, firefly, headscale, homepage, invoiceninja, jellyfin, lubelogger
This commit is contained in:
@@ -1,51 +1,34 @@
|
||||
# Headscale Docker Compose Template
|
||||
|
||||
services:
|
||||
headscale:
|
||||
image: ${HEADSCALE_IMAGE:-headscale/headscale:latest}
|
||||
restart: ${HEADSCALE_RESTART:-unless-stopped}
|
||||
|
||||
volumes:
|
||||
- ${CONFIG_PATH:-./config}/headscale/config:/etc/headscale
|
||||
- ${DATA_PATH:-./data}/headscale:/var/lib/headscale
|
||||
- ${LOG_PATH:-./logs}/headscale:/var/log/headscale
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
|
||||
- ${VOL_PATH:-/data}/headscale/config:/etc/headscale
|
||||
- ${VOL_PATH:-/data}/headscale/data:/var/lib/headscale
|
||||
- ${VOL_PATH:-/data}/headscale/logs:/var/log/headscale
|
||||
environment:
|
||||
- TZ=${TZ:-UTC}
|
||||
- TZ=${TZ:-America/Vancouver}
|
||||
- HEADSCALE_LOG_LEVEL=${HEADSCALE_LOG_LEVEL:-info}
|
||||
|
||||
expose:
|
||||
- "8080"
|
||||
|
||||
networks:
|
||||
- proxy
|
||||
- internal
|
||||
|
||||
command:
|
||||
- headscale
|
||||
- serve
|
||||
|
||||
user: "1000:1000"
|
||||
|
||||
headscale-ui:
|
||||
image: ${HEADSCALE_UI_IMAGE:-goodieshq/headscale-admin:latest}
|
||||
restart: ${HEADSCALE_UI_RESTART:-unless-stopped}
|
||||
|
||||
environment:
|
||||
- TZ=${TZ:-UTC}
|
||||
- TZ=${TZ:-America/Vancouver}
|
||||
- HEADSCALE_URL=http://headscale:8080
|
||||
|
||||
expose:
|
||||
- "80"
|
||||
|
||||
networks:
|
||||
- proxy
|
||||
- internal
|
||||
depends_on:
|
||||
- headscale
|
||||
|
||||
networks:
|
||||
- internal
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
internal:
|
||||
driver: bridge
|
||||
@@ -1,30 +1,12 @@
|
||||
# =========================
|
||||
# Headscale Configuration
|
||||
# =========================
|
||||
|
||||
# Images
|
||||
# Compose
|
||||
VOL_PATH=/data
|
||||
HEADSCALE_IMAGE=headscale/headscale:latest
|
||||
HEADSCALE_UI_IMAGE=goodieshq/headscale-admin:0.26
|
||||
|
||||
# Restart policy
|
||||
HEADSCALE_RESTART=unless-stopped
|
||||
HEADSCALE_UI_RESTART=unless-stopped
|
||||
|
||||
# Paths
|
||||
CONFIG_PATH=./config
|
||||
DATA_PATH=./data
|
||||
LOG_PATH=./logs
|
||||
|
||||
# Timezone
|
||||
TZ=America/Vancouver
|
||||
|
||||
# Logging
|
||||
# Headscale
|
||||
HEADSCALE_LOG_LEVEL=info
|
||||
|
||||
# Domain (IMPORTANT)
|
||||
HEADSCALE_DOMAIN=headscale.example.com
|
||||
HEADSCALE_URL=https://headscale.example.com
|
||||
|
||||
# Ports (not exposed publicly, but useful for internal reference)
|
||||
HEADSCALE_PORT=8080
|
||||
HEADSCALE_UI_PORT=9090
|
||||
TZ=America/Vancouver
|
||||
|
||||
Reference in New Issue
Block a user