feat: use pgadmin as recommended from official
This commit is contained in:
parent
b3471991ff
commit
9ff3a830d9
|
|
@ -30,7 +30,6 @@ services:
|
|||
environment:
|
||||
- PGADMIN_DEFAULT_EMAIL=${PGADMIN_DEFAULT_EMAIL}
|
||||
- PGADMIN_DEFAULT_PASSWORD=${PGADMIN_DEFAULT_PASSWORD}
|
||||
- PGADMIN_CONFIG_WTF_CSRF_ENABLED=False
|
||||
ports:
|
||||
- 5400:80
|
||||
|
||||
|
|
|
|||
|
|
@ -44,7 +44,6 @@ services:
|
|||
environment:
|
||||
- PGADMIN_DEFAULT_EMAIL=${PGADMIN_DEFAULT_EMAIL}
|
||||
- PGADMIN_DEFAULT_PASSWORD=${PGADMIN_DEFAULT_PASSWORD}
|
||||
- PGADMIN_CONFIG_WTF_CSRF_ENABLED=False
|
||||
ports:
|
||||
- 5400:80
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,10 @@ http {
|
|||
# PgAdmin
|
||||
location /pgadmin/ {
|
||||
proxy_set_header X-Script-Name /pgadmin;
|
||||
proxy_set_header X-Scheme $scheme;
|
||||
proxy_set_header Host $host;
|
||||
proxy_pass http://pgadmin:80/;
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
||||
# Admin Frontend
|
||||
|
|
|
|||
Loading…
Reference in New Issue