8
submitted 6 months ago by GregorTacTac@lemm.ee to c/selfhost@lemmy.ml

The ports 80 and 443 are already used by Adguard Home. I didnt find any way to change those ports for Bitwarden.

you are viewing a single comment's thread
view the rest of the comments
[-] mark@social.cool110.xyz 6 points 6 months ago

@GregorTacTac If you use containers you can map something like 8080 on the host to 80 in the container. Generally it's recommended to have a reverse proxy listening on 80 and 443 with all your individual applications on localhost only high ports.

[-] zelifcam@lemmy.world 4 points 6 months ago* (last edited 6 months ago)

Bitwarden has its own script to manage the containers. It’s not your typical self hosted app docker installation. What OP is looking for is easily accessible in their FAQ section of the documentation.

Q: How do I use custom server ports?

A: To use custom ports, instead of 80 and 443, edit the http_port= and https_port= values in ./bwdata/config.yml and run ./bitwarden.sh rebuild to rebuild your server assets.

Check that the custom port values have been proliferated to ./bwdata/env/global.override.env.

[-] GregorTacTac@lemm.ee -1 points 6 months ago

I'd like to have the applications running at the same time. This can't be done with just 2 ports, can it?

[-] MangoPenguin@lemmy.blahaj.zone 9 points 6 months ago

It can be done if you implement a reverse proxy in front of the services.

this post was submitted on 28 May 2024
8 points (83.3% liked)

Self Hosted - Self-hosting your services.

11582 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules

Important

Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!

Cross-posting

If you see a rule-breaker please DM the mods!

founded 3 years ago
MODERATORS