Dokploy / Dokploy/dokploy

IP whitelist for databases

Open
#2,542 6 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
37.4k
Forks
3k
Avg merge
1d 3h
Merged PRs (30d)
73

Description

What problem will this feature address?

I need to expose a db externally in order to run db migrations from my external build system. Also for local dev so I can attach a SQL studio. I want to whitelist this to my VPN ip address but there doesn't seem to be a good way to do this.

Describe the solution you'd like

Exposing the traefik config like applications would allow whitelisting IPs and this is similar to how CapRover handles this.

Describe alternatives you've considered

Alternatives are setting up your database as an application via the AI tool or "You can use firewall from your provider as an alternative solution.". Personally I recommend just setting up databases as regular application.

Additional context

No response

Will you send a PR to implement it?

No

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting how application Traefik configuration and database deployment are defined; the issue names no files or tests. Define the work around exposing databases externally while restricting access to configured VPN IP addresses, then verify that the whitelist behavior matches the requested migration and SQL Studio use cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, typescript
Domain
databases, networking, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.