stefanpejcic / OpenPanel

A highly customizable web hosting control panel built with Docker 🐳
https://openpanel.com
216 stars 33 forks source link

phpMyAdmin to use hostname instead of ip for auto login #156

Closed stefanpejcic closed 2 months ago

stefanpejcic commented 3 months ago

OpenPanel version(s) affected

0.2.5

Description

https://community.openpanel.com/d/92-few-small-problems-found/1

Possible Solution

We could use another file to store/update hostname when set, and mount it inside each user container along with ssl's in read-only.

Then set pma to that and make sure autologin uses it as well.

it will still be with random ports:

https://srv.example.net:16518 - one user https://srv.example.net:16519 - another etc.

Additional Context

No response

stefanpejcic commented 3 months ago

We will also need to terminate existing phpmyadmin Sessions after hostname update