Live data from Hacker News

Self-Hosting Bitwarden on DigitalOcean

bitwarden.com

11–14 of 14 posts

Re: Self-Hosting Bitwarden on DigitalOcean

#11
post #10

Earlier quoted context omitted.

The stack is DotNet C# + MySql iirc. I wonder how much of that 2G is the DotNet runtime stuff

Probably 100-200 MB. The database instance takes up most of the memory. I thought it was MSSQL instead of MySQL, which would easily explain the amount.

Actually it could be MSSQL I may have misread. I haven't checked the docs for that one.

Re: Self-Hosting Bitwarden on DigitalOcean

#12
post #2

> Bitwarden requires at least 2GB of RAM, so make sure to choose a plan with enough memory during creation Yeah, I recalled that for-real Bitwarden uses dotnet and mssql so I'm sure Digital Ocean loves the situation where someone needs a huge instance I was curious given the mention of "docker-compose" how exactly that worked (did it have them set with "restart: always" and similar operational sanity?) but while digg…

The compose file is created by the setup container and can be found here:

https://github.com/bitwarden/server/blob/master/util/Setup/T...

Re: Self-Hosting Bitwarden on DigitalOcean

#13
post #2

> Bitwarden requires at least 2GB of RAM, so make sure to choose a plan with enough memory during creation Yeah, I recalled that for-real Bitwarden uses dotnet and mssql so I'm sure Digital Ocean loves the situation where someone needs a huge instance I was curious given the mention of "docker-compose" how exactly that worked (did it have them set with "restart: always" and similar operational sanity?) but while digg…

Wow. You will self host whatever we want you to self host, always.

Compose template for the setup component is here: https://github.com/bitwarden/server/blob/master/util/Setup/T...

Re: Self-Hosting Bitwarden on DigitalOcean

#14
post #10

Earlier quoted context omitted.

Probably 100-200 MB. The database instance takes up most of the memory. I thought it was MSSQL instead of MySQL, which would easily explain the amount.

Actually it could be MSSQL I may have misread. I haven't checked the docs for that one.

It's MSSQL: https://github.com/bitwarden/server/blob/master/util/Setup/T...
Post reply on HN