I use the PgAdmin “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