-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
44 lines (37 loc) · 2.23 KB
/
Copy path.env.example
File metadata and controls
44 lines (37 loc) · 2.23 KB
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
43
44
# Copy this file to .env and update the values. See ../HTTPS.md for the full setup.
# Tailscale auth for the sidecar. Either a reusable auth key, OR an OAuth client
# secret (recommended) paired with TS_EXTRA_ARGS=--advertise-tags=tag:container
# in docker-compose.yml. Create at: tailscale.com/admin/settings/keys (or /oauth)
TS_AUTHKEY=
# Forgejo's own MagicDNS name = the sidecar `hostname:` (forgejo) + your tailnet.
# Find your tailnet: tailscale status --json | jq -r '.Self.DNSName' | sed 's/\.$//'
# (that prints <hostname>.<tailnet>.ts.net — swap the host part for `forgejo`)
# Quoted because runner-status.sh sources this file (the <...> placeholder would
# otherwise be read as a shell redirection).
FORGEJO_DOMAIN="forgejo.<tailnet>.ts.net"
# Where to store repositories and Forgejo config.
# Default: ./data (same directory as docker-compose.yml)
# External drive example: FORGEJO_DATA_PATH=/mnt/external/forgejo
FORGEJO_DATA_PATH=./data
TZ=America/Los_Angeles
# --- Runner status monitor (runner-status.sh) ------------------------------
# Server-side check that the Mac mini Actions runner is connected, surfaced on
# the homepage card, Uptime Kuma, and ntfy. The runner itself lives in
# macOS/forgejo-runner/. Leave the optional vars blank to skip that surface.
# Forgejo token that can read runners. The default API URL is the instance
# (admin) scope, so this needs an admin token; create one at
# Forgejo → Settings → Applications → Generate Token.
FORGEJO_RUNNER_API_TOKEN=
# Runner name as registered in Forgejo (Settings → Actions → Runners).
RUNNER_NAME=m4-mini
# Override only if your token is org/repo-scoped rather than instance/admin:
# FORGEJO_RUNNER_API_URL="https://forgejo.<tailnet>.ts.net/api/v1/repos/<owner>/<repo>/actions/runners"
# Uptime Kuma push monitor (optional). Add a Push monitor matching the 120s
# timer (Heartbeat 120s, Retries 2, Retry Interval 20s — ~160s slack absorbs
# jitter), and paste the generated URL through /api/push/<token> — the script
# appends its own status/msg params. See ../post-install.md "Uptime Kuma push monitor".
KUMA_PUSH_URL=
# ntfy down/recovery alerts (optional). Quoted: sourced by runner-status.sh.
NTFY_URL="https://ntfy.<tailnet>.ts.net"
NTFY_TOPIC=server-runner
NTFY_TOKEN=