# 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$$....