Thank you for this post. I could install with this tips now Bitwarden on my Server pretty easy. I also use a Setup with the jwilder\nginx-proxy
I just added following docker-compose.overwrite.yml
to the bwdata/docker folder:
version: '3'
services:
nginx:
environment:
VIRTUAL_PORT: 8080
VIRTUAL_HOST: vault.example.com
LETSENCRYPT_HOST: vault.example.com
LETSENCRYPT_EMAIL: [email protected]
networks:
default:
external:
name: nginx-proxy
I then also removed in the `config.yml` the port mappings:
http_port:
https_port:
Afterwards i needed to run `.\bitwarden.sh rebuild` to generate the updated docker-compose.yml. Then i could run the `.\bitwarden.sh start` and everything worked.
Additional Notes
If you do not want to have the bwdata folder inside your homedir, you could just run the script, where the folder needs to be. I placed the script under/docker-containers/websites/bitwarden
. Each website has in the folder/docker-containers/websites
a seperate subfolder and a custom backup script will backup each subfolder invidually in a tar.gz and download it to my NAS at home.