Freika / dawarich

Self-hosted alternative to Google Location History (Google Maps Timeline)
https://dawarich.app
GNU Affero General Public License v3.0
2.25k stars 51 forks source link

adding domain, or tailscale domain #394

Closed texonica closed 1 week ago

texonica commented 1 week ago

hi i'm getting such error when connecting nging proxy manager to dawarich

To allow requests to these hosts, make sure they are valid hostnames (containing only numbers, letters, dashes and dots), then add the following to your environment configuration: config.hosts << "dw.aaa.bbb"

in dockge i have

dawarich_app: ... APPLICATION_HOST: dw.aaa.bbb APPLICATION_HOSTS: localhost,dw.aaa.bbb,tailscaledomain.net

  and

  dawarich_sidekiq:
  ...

APPLICATION_HOST: dw.aaa.bbb APPLICATION_HOSTS: localhost,tailscaledomain.net:3009,dw.aaa.bbb

  nor tailscale, nor nginxproxymanager domains work, both get error from ruby
Freika commented 1 week ago

I haven't tried to make it work with the tailscale's domains, but here is my approach, hope it will help: https://frey.today/homelab-with-tailscale-docker-caddy-ssl-cloudflare/