hassio-addons / addon-bitwarden

Vaultwarden (Bitwarden) - Home Assistant Community Add-ons
https://addons.community
MIT License
156 stars 43 forks source link

Expose the `DOMAIN` enviroment varriable #301

Closed betapictoris closed 9 months ago

betapictoris commented 9 months ago

Problem/Motivation

In order to expose Vaultwarden behind a subpath the DOMAIN variable must be updated to match the new path. Exposing this option would allow those behind proxies to setup Vaultwarden on a single domain name.

Expected behavior

It is expected to be able to host Vaultwarden behind a subpath through reverse proxies (see Vaultwarden's Proxy examples).

Actual behavior

There is no variable to change the base URL, so the configuration can never be setup to properly test.

Steps to reproduce

Attempt to route your Vaultwarden traffic to a subpath on a Tailscale funnel domain name through the Nginx Proxy Manager add-on.

Proposed changes

Provide an option to either set DOMAIN manually, or add an optional subpath to DOMAIN, in the configuration options.


I just want to end this by saying thanks a ton for all the hard work!

betapictoris commented 9 months ago

This can be configured within the admin panel. Closing....