Refactor pgAdmin Docker configuration

Updated pgAdmin configuration with new environment variables and added volume for persistent data.
This commit is contained in:
MisticDruid authored and GitHub committed 2026-01-23 17:26:42 +01:00
1 parent ef26477913
commit 45ef58c414
1 file changed
+12 -5
+12 -5
View File
@@ -5,10 +5,10 @@ services:
- 5050:80 - 5050:80
environment: environment:
- PGADMIN_DEFAULT_EMAIL=roland@frannetwerk.com - PGADMIN_DEFAULT_EMAIL=roland@frannetwerk.com
- PGADMIN_DEFAULT_PASSWORD=UgFPx2^!m&ttAX - PGADMIN_DEFAULT_PASSWORD=ugfP2z*1mst+AX
- PGADMIN_SERVER_NAME=pgadmin.frannetwerk.nl - PGADMIN_SERVER_NAME=pgadmin.frannetwerk.nl
- PGADMIN_CONFIG_ENHANCED_COOKIE_PROTECTION=False - PGADMIN_CONFIG_ENHANCED_COOKIE_PROTECTION=false
- PGADMIN_CONFIG_ALLOW_HOSTS=['*'] - PGADMIN_CONFIG_ALLOW_HOSTS=['**']
- PGADMIN_CONFIG_SERVER_MODE=True - PGADMIN_CONFIG_SERVER_MODE=True
- MAIL_SERVER=mail.frannetwerk.com - MAIL_SERVER=mail.frannetwerk.com
- MAIL_PORT=465 - MAIL_PORT=465
@@ -16,8 +16,15 @@ services:
- MAIL_USE_TLS="False" - MAIL_USE_TLS="False"
- MAIL_DEFAULT_SENDER=admin@frannetwerk.com - MAIL_DEFAULT_SENDER=admin@frannetwerk.com
- MAIL_USERNAME=admin@frannetwerk.com - MAIL_USERNAME=admin@frannetwerk.com
- MAIL_PASSWORD='PV3Edsd2Chn1Gj' - MAIL_PASSWORD='PV36dcPCns1G}'
- MAIL_DEBUG="True" - MAIL_DEBUG="True"
- SECURITY_EMAIL_SENDER=admin@frannetwerk.com - SECURITY_EMAIL_SENDER=admin@frannetwerk.com
mem_limit="512MB" - mem_limit="512m"
image: dpage/pgadmin4:latest image: dpage/pgadmin4:latest
volumes:
- pgadmin_data:/var/lib/pgadmin
restart: always
volumes:
pgadmin_data:
driver: local