Refactor pgAdmin Docker configuration
Updated pgAdmin configuration with new environment variables and added volume for persistent data.
This commit is contained in:
1 parent
ef26477913
commit
45ef58c414
1 file changed
+29
-22
+29
-22
@@ -1,23 +1,30 @@
|
||||
services:
|
||||
pgadmin4:
|
||||
container_name: pgadmin
|
||||
ports:
|
||||
- 5050:80
|
||||
environment:
|
||||
- PGADMIN_DEFAULT_EMAIL=roland@frannetwerk.com
|
||||
- PGADMIN_DEFAULT_PASSWORD=UgFPx2^!m&ttAX
|
||||
- PGADMIN_SERVER_NAME=pgadmin.frannetwerk.nl
|
||||
- PGADMIN_CONFIG_ENHANCED_COOKIE_PROTECTION=False
|
||||
- PGADMIN_CONFIG_ALLOW_HOSTS=['*']
|
||||
- PGADMIN_CONFIG_SERVER_MODE=True
|
||||
- MAIL_SERVER=mail.frannetwerk.com
|
||||
- MAIL_PORT=465
|
||||
- MAIL_USE_SSL="True"
|
||||
- MAIL_USE_TLS="False"
|
||||
- MAIL_DEFAULT_SENDER=admin@frannetwerk.com
|
||||
- MAIL_USERNAME=admin@frannetwerk.com
|
||||
- MAIL_PASSWORD='PV3Edsd2Chn1Gj'
|
||||
- MAIL_DEBUG="True"
|
||||
- SECURITY_EMAIL_SENDER=admin@frannetwerk.com
|
||||
mem_limit="512MB"
|
||||
image: dpage/pgadmin4:latest
|
||||
pgadmin4:
|
||||
container_name: pgadmin
|
||||
ports:
|
||||
- 5050:80
|
||||
environment:
|
||||
- PGADMIN_DEFAULT_EMAIL=roland@frannetwerk.com
|
||||
- PGADMIN_DEFAULT_PASSWORD=ugfP2z*1mst+AX
|
||||
- PGADMIN_SERVER_NAME=pgadmin.frannetwerk.nl
|
||||
- PGADMIN_CONFIG_ENHANCED_COOKIE_PROTECTION=false
|
||||
- PGADMIN_CONFIG_ALLOW_HOSTS=['**']
|
||||
- PGADMIN_CONFIG_SERVER_MODE=True
|
||||
- MAIL_SERVER=mail.frannetwerk.com
|
||||
- MAIL_PORT=465
|
||||
- MAIL_USE_SSL="True"
|
||||
- MAIL_USE_TLS="False"
|
||||
- MAIL_DEFAULT_SENDER=admin@frannetwerk.com
|
||||
- MAIL_USERNAME=admin@frannetwerk.com
|
||||
- MAIL_PASSWORD='PV36dcPCns1G}'
|
||||
- MAIL_DEBUG="True"
|
||||
- SECURITY_EMAIL_SENDER=admin@frannetwerk.com
|
||||
- mem_limit="512m"
|
||||
image: dpage/pgadmin4:latest
|
||||
volumes:
|
||||
- pgadmin_data:/var/lib/pgadmin
|
||||
restart: always
|
||||
|
||||
volumes:
|
||||
pgadmin_data:
|
||||
driver: local
|
||||
Reference in new issue
Block a user