Re: Maximum file upload size (MB)

From: Yogesh Mahajan <yogesh(dot)mahajan(at)enterprisedb(dot)com>
To: Federico Galimberti <federico(dot)galimberti(dot)75(at)gmail(dot)com>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: Maximum file upload size (MB)
Date: 2023-01-20 06:39:29
Message-ID: CAMa=N=MEKtcti4eukrpRC2H6XXMMX1wOLtgU-v3VhKM+WJQDTA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi,

Currently this configuration is not application wide. Hence you can not set
it from docker-compose.
You have to change settings as you mentioned only from File> Preferences>
Storage > Option > Maximum file upload size (MB). Currently the
default value is 50MB for all users.

Could you please provide a use case of setting this parameter at
application level.
You can raise a feature request for the same.

Thanks,
Yogesh Mahajan
EnterpriseDB

On Wed, Jan 18, 2023 at 2:13 PM Federico Galimberti <
federico(dot)galimberti(dot)75(at)gmail(dot)com> wrote:

> Good morning,
> I use the PgAdmin "dpage/pgadmin4
> <https://hub.docker.com/r/dpage/pgadmin4>" Docker image. To change the
> database upload size, proceed as follows:
> *File > Preferences > Options > Maximum file upload size (MB)*
> Can I set this data with Docker Compose?
> I have been looking for a solution to this problem for months.
> This is my Docker Compose configuration (*I expect to add something where
> the question marks appear*).
> Thank you
>
> *Dockerfile*
>
> FROM dpage/pgadmin4:6.18
> LABEL Author="My name and my surname"*# ??? New limit ???*
>
> *yaml file*
>
> pgadmin:
>
> build: ./pgadmin
> ...
> networks:
> ...
> labels:
> ...
> volumes:
> - type: bind
> source: ./volumes/data-pgadmin/servers.json
> target: /pgadmin4/servers.json
> environment:
> PGADMIN_DEFAULT_EMAIL: ...
> PGADMIN_DEFAULT_PASSWORD: ...
> *# ??? New limit ???*
> depends_on:
> - postgresql-postgis
>
> *Federico Galimberti*
> federico(dot)galimberti(dot)75(at)gmail(dot)com
>

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Bukola Adebayo 2023-01-25 11:14:58 PgAdmin4
Previous Message Federico Galimberti 2023-01-17 23:15:34 Maximum file upload size (MB)