dokploy icon indicating copy to clipboard operation
dokploy copied to clipboard

Possibility to chose an environment by default when entering in an application

Open herbalizer404 opened this issue 1 year ago • 2 comments

What problem will this feature address?

When entering in one app, we can't decide which is the environment by default which can be annoying when working on a particular one.

Describe the solution you'd like

A simple default icon or text in list or something like that

Describe alternatives you've considered

no alternative considered

Additional context

No response

Will you send a PR to implement it?

Yes

herbalizer404 avatar Oct 08 '25 13:10 herbalizer404

I can work on this feature. Can you assign me the task?

dhairya-eng avatar Oct 08 '25 19:10 dhairya-eng

I have update my env by updating in DB using :

docker exec -it dokploy-postgres*
psql -U$POSTGRES_USER -d$POSTGRES_DB
# select all env for visualization 
select * from environment; 
# update your default env with it's id
update environment set "isDefault" = 't' where "environmentId" = '<envId>' ;
> # if you'd like you can keep production as default as well,  it will work just fine

oussamaboumaad avatar Dec 24 '25 14:12 oussamaboumaad