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.galimberti...@gmail.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.galimberti...@gmail.com
>

Reply via email to