Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

v1.4.0

Compare
Choose a tag to compare
@jviide jviide released this 13 Dec 04:19
· 2 commits to master since this release
  • Added autocert: Integrated Let's Encrypt support activated and controlled by the following environment variables:
    • HTTPS_AUTOCERT_ENABLED: Set to true to enable autocert.
    • HTTPS_AUTOCERT_HOSTS: A comma-separated list of hostnames that autocert applies to. If not defined then applies to every host.
    • HTTPS_AUTOCERT_DIR_CACHE: A directory where Let's Encrypt data is cached. If not defined then the data is cached in memory.
  • INFO_URI_TEMPLATE: RFC 6570-style URI template for fetching extra information to each trace hop.

Example docker-compose.yml:

version: "3"

services:
  tracetrout:
    image: hownetworks/tracetrout
    volumes:
      - autocert-cache:/autocert-cache
    environment:
      HOP_OFFSET: "1"
      INFO_URI_TEMPLATE: http://whereabouts:8080/ip/{ip}
      HTTPS_ENABLED: "true"
      HTTPS_AUTOCERT_ENABLED: "true"
      HTTPS_AUTOCERT_HOSTS: tracetrout4.example.com,tracetrout6.example.com
      HTTPS_AUTOCERT_DIR_CACHE: /autocert-cache
    ports:
      - "443:8080"
    cap_add:
      - NET_ADMIN

  whereabouts:
    image: hownetworks/whereabouts

volumes:
  autocert-cache: {}