mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[GH-ISSUE #2307] Cant connect with remote host #1223
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#1223
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sohag033 on GitHub (Feb 13, 2022).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/2307
Hi,
I want to connect the remote database with PGSQL. I have already tried with just docker with below cmd and its working fine
docker run -d --name vaultwarden -e DATABASE_URL=postgresql://vaultwarden:password@db host:5432/vaultwarden -p 80:80 vaultwarden/server:latest
But in K8s I am trying to connect to the remote host with the below configmap. why it’s not connected?
apiVersion: v1
kind: ConfigMap
metadata:
name: vaultwarden-configmap
namespace: sohag
data:
DATABASE_CONNECTION: “postgresql”
DATABASE_URL: “host.rds.com:5432”
POSTGRES_USER: “vaultwarden”
POSTGRES_PASSWORD: “Password”
POSTGRES_DB: “vaultwarden”
The same is happening for docker-compose.I cant connect remote db wit env file.
could you please help me to solve the problem?
BR,
Samajpati