The domain environment variable is already correctly applied to the app-id.json file - see https://github.com/dani-garcia/bitwarden_rs/blob/515b87755a35b35afd8d8a7cf72996a518f82c17/src/api/web.rs#L41.

danielresnick
2019-08-28 10:13:49 +12:00
parent 6ff30b6c65
commit 2d7cdbb4af
-2
@@ -12,5 +12,3 @@ docker run -d --name bitwarden \
``` ```
Note that the value has to include the `https://` and it may include a port at the end (in the format of `https://bw.domain.tld:port`) when not using `443`. Note that the value has to include the `https://` and it may include a port at the end (in the format of `https://bw.domain.tld:port`) when not using `443`.
One must also modify the url contained in the file /web-vault/app-id.json inside the docker container from the default-value of "https://vault.bitwarden.com" to the self-hosted-url, e.g. using `sed -i -e 's/vault.bitwarden.com/bitwarden.yourhost.com/g' /web-vault/app-id.json`. You can enter the container with `docker exec -it bitwarden.service bash`.