# Deployment stack. Copy to the GitOps compose repo as byd-exporter/docker-compose.yml. services: byd-exporter: image: 192.168.1.17:30008/thistine/byd-exporter:latest container_name: byd-exporter restart: always environment: BYD_USERNAME: ${BYD_USERNAME:?set in .env} BYD_PASSWORD: ${BYD_PASSWORD:?set in .env} BYD_REGION: ${BYD_REGION:-sg} BYD_COUNTRY_CODE: ${BYD_COUNTRY_CODE:-TH} BYD_TIME_ZONE: ${BYD_TIME_ZONE:-Asia/Bangkok} # Every scrape wakes the car. Hourly is already fairly aggressive. BYD_SCHEDULE: ${BYD_SCHEDULE:-0 * * * *} networks: - proxy networks: proxy: external: true