Dokploy / Dokploy/dokploy

Allow more configuration possibilities for certain template projects such as PostgreSQL

Open
#946 3 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 configure and fine-tune certain values, but there is no elegant way of doing so at the moment, because I'd essentially need to pass my configuration file to postgres and the only way to do it if I'm using a template project is to probably mount a volume that would contain a config, which feels a bit cumbersome. This could be workarounded by deploying postgres as a docker compose project (fetching from own repository with a configuration file in it), but this would defeat the whole purpose of a template.

Describe the solution you'd like

The trivial solution might be to just allow passing configs or common values, but this is probably inefficient because it would mean that each template project would need its own opinionated set of values.

So what I think might be done instead is to make template's internal docker compose (or whatever is being used) visible to the end user in an advanced tab (or similar). This means that for users who deploy apps or use templates and want some customization of a standard template, there would be a possibility to go to the "Advanced" tab and update things as needed.

Describe alternatives you've considered

Writing docker-compose.yml manually and deploying a database as a docker compose project.

Additional context

No response

Will you send a PR to implement it?

Maybe, need help

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

No files, tests, or entry points are named. Start by locating how template projects deploy their internal Docker Compose definition and compare that flow with manual Docker Compose projects; done would mean users can safely view and customize the relevant template configuration through an advanced interface.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, docker-compose, postgresql
Domain
databases, devops
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.