version: "3.8" networks: default: name: ${TRAEFIK_NETWORK_NAME:-traefik} services: matomo-web: environment: TRUSTED_PROXIES: ${TRAEFIK_NETWORK_NAME:-traefik} labels: - traefik.enable=true - traefik.docker.network=${TRAEFIK_NETWORK_NAME:-traefik} - traefik.http.routers.${TRAEFIK_ROUTER_NAME:-matomo}.rule=Host(`${MATOMO_DOMAIN:?err}`) - traefik.http.routers.${TRAEFIK_ROUTER_NAME:-matomo}.entrypoints=${TRAEFIK_ENTRYPOINTS:-web}