-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.traefik.example
More file actions
28 lines (25 loc) · 1.15 KB
/
Copy path.env.traefik.example
File metadata and controls
28 lines (25 loc) · 1.15 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
# .env.traefik.example
#
# Internal home lab / LAN setup with Traefik + HTTPS + password protection.
# Copy this file to .env and fill in your values before running:
# docker compose -f docker-compose.traefik.yml up -d
#
# See docs/guide/traefik.md for step-by-step instructions, including how to
# generate the bcrypt password hash for TRAEFIK_BASICAUTH_USERS.
#
# After setup, the services are accessible at:
# https://${DOMAIN} → OpenClaw gateway
# https://${DOMAIN}/stats → ClawMetry dashboard
# Local hostname for both services (single domain, path-based routing)
# Add one entry to /etc/hosts on every client machine, e.g.:
# 192.168.1.100 openclaw.local
DOMAIN=openclaw.local
# HTTP Basic Auth credentials for Traefik (protects both services)
# Format: user:bcrypt_hash — replace every $ in the hash with $$
# Generate with one of these commands (then replace $ → $$):
# docker run --rm httpd:alpine htpasswd -nB admin
# htpasswd -nB admin
# Example (user: admin, password: changeme):
TRAEFIK_BASICAUTH_USERS=admin:$$2y$$05$$replace-this-with-your-generated-hash
# Optional: your display name shown in the ClawMetry Flow tab
OPENCLAW_USER=