READMEs: correct the auth model (PocketBase token relay, not JWT/sessions), document the full feature set (technical checks, fuel, maintenance, documents, reminders, attachments, integrations, OCPP charging control), the shipping built-in connectors (toyota, anker-solix), and the current endpoint surface. Docker: build against the current repo layout — Go 1.26, cmd/server entry point, Web App source under web/. Add the missing Web App Dockerfile (Go BFF) and .dockerignore, drop the obsolete AUTH_SECRET, modernise CORS var naming, and standardise on drivervault-* naming. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
19 lines
755 B
Bash
19 lines
755 B
Bash
# Copy to .env and fill in. Used by the Docker AIO docker-compose.yml.
|
|
|
|
# --- Required (no defaults) --------------------------------------------------
|
|
# PocketBase superuser, also used by the API Server to authenticate.
|
|
PB_ADMIN_EMAIL=admin@example.com
|
|
PB_ADMIN_PASSWORD=change-me-long-password
|
|
|
|
# --- Host port mappings (optional; defaults shown) --------------------------
|
|
WEB_PORT=80
|
|
PB_PORT=8090
|
|
# API Server + its embedded web panel (served at the API root, http://host:8080/).
|
|
API_PORT=8080
|
|
|
|
# --- Build args (optional) ---------------------------------------------------
|
|
# Leave empty so the browser uses same-origin /api (proxied by nginx).
|
|
VITE_API_BASE=
|
|
# Pin a PocketBase version, or leave empty to fetch the latest at build time.
|
|
PB_VERSION=
|