First commit

This commit is contained in:
2026-11-17 20:25:07 +01:00
parent d8a140dbf0
commit 54359a1c73
16 changed files with 3234 additions and 1 deletions
+31
View File
@@ -0,0 +1,31 @@
# Variables for the Portainer stack. In Portainer: Stacks → your stack → Environment variables →
# "Advanced mode", and paste these lines (or use "Load variables from .env file" with this file).
# Public hostname Traefik routes to this app
APP_HOST=km.example.com
# Your running Traefik setup
TRAEFIK_NETWORK=traefik
TRAEFIK_ENTRYPOINT=websecure
TRAEFIK_CERTRESOLVER=letsencrypt
# PostgreSQL (the database is created by the stack; choose a strong password)
POSTGRES_DB=kilometerlog
POSTGRES_USER=kilometerlog
POSTGRES_PASSWORD=change-me
# Optional: Home Assistant import. A long random token, also put in Home Assistant's secrets.yaml.
# Generate one with: openssl rand -hex 32
# HA_TOKEN=
# Town names for Home Assistant trips are looked up on OpenStreetMap (Nominatim).
# GEOCODER=off turns this off; GEOCODER_LANG sets the language of the names (default nl);
# GEOCODER_URL can point to your own Nominatim server.
# GEOCODER_LANG=nl
# GEOCODER_EMAIL=you@example.com
# Time zone used to date trips that come from Home Assistant
TZ=Europe/Amsterdam
# Optional basic auth (htpasswd format, escape every $ as $$)
# BASIC_AUTH_USERS=mitchell:$$apr1$$....