dani-garcia / vaultwarden

Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs
GNU Affero General Public License v3.0
36.78k stars 1.79k forks source link

`DATABASE_URL` is meant for MySQL or Postgres, while this server is meant for SQLite #860

Closed mzch closed 4 years ago

mzch commented 4 years ago

Subject of the issue

Container can't access to PostgreSQL server.

Your environment

Steps to reproduce

Actual behaviour

Abort.

Relevant logs

Feb 13 02:27:58 n21 docker-compose[15501]: #033[36mbitwarden      |#033[0m Error loading config:
Feb 13 02:27:58 n21 docker-compose[15501]: #033[36mbitwarden      |#033[0m #011`DATABASE_URL` is meant for MySQL or Postgres, while this server is meant for SQLite
mzch commented 4 years ago

Sorry, I didn't notice it would need to rebuild a docker image.

mprasil commented 4 years ago

You don't need to rebuild the image. You can just use the bitwardenrs/server-postgresql that is built with portgers support or bitwardenrs/server-mysql that is built with mysql support.

mzch commented 4 years ago

Oh, thanks!