mirror of
https://github.com/dani-garcia/bitwarden_rs
synced 2024-11-22 18:06:05 +01:00
Updated Enabling HTTPS (markdown)
parent
e9f5ab20ff
commit
63f06b3159
@ -44,7 +44,7 @@ Notes:
|
|||||||
* If running under Docker, remember that vaultwarden will be parsing the `ROCKET_TLS` value when running inside the container, so make sure the `certs` and `key` paths are how they would appear inside the container (which may be different from the paths on the Docker host system).
|
* If running under Docker, remember that vaultwarden will be parsing the `ROCKET_TLS` value when running inside the container, so make sure the `certs` and `key` paths are how they would appear inside the container (which may be different from the paths on the Docker host system).
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
docker run -d --name bitwarden \
|
docker run -d --name vaultwarden \
|
||||||
-e ROCKET_TLS='{certs="/ssl/certs.pem",key="/ssl/key.pem"}' \
|
-e ROCKET_TLS='{certs="/ssl/certs.pem",key="/ssl/key.pem"}' \
|
||||||
-v /ssl/keys/:/ssl/ \
|
-v /ssl/keys/:/ssl/ \
|
||||||
-v /vw-data/:/data/ \
|
-v /vw-data/:/data/ \
|
||||||
@ -68,7 +68,7 @@ These files are symlinked to `../../archive/mydomain/privkey.pem`
|
|||||||
So to use from bitwarden container:
|
So to use from bitwarden container:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
docker run -d --name bitwarden \
|
docker run -d --name vaultwarden \
|
||||||
-e ROCKET_TLS='{certs="/ssl/live/mydomain/fullchain.pem",key="/ssl/live/mydomain/privkey.pem"}' \
|
-e ROCKET_TLS='{certs="/ssl/live/mydomain/fullchain.pem",key="/ssl/live/mydomain/privkey.pem"}' \
|
||||||
-v /etc/letsencrypt/:/ssl/ \
|
-v /etc/letsencrypt/:/ssl/ \
|
||||||
-v /bw-data/:/data/ \
|
-v /bw-data/:/data/ \
|
||||||
|
Loading…
Reference in New Issue
Block a user