The domain environment variable is already correctly applied to the app-id.json file - see 515b87755a/src/api/web.rs (L41).

danielresnick 2019-08-28 10:13:49 +12:00
parent 6ff30b6c65
commit 2d7cdbb4af

@ -11,6 +11,4 @@ docker run -d --name bitwarden \
bitwardenrs/server:latest
```
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`.
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`.