# Additional Configuration
# Access to PanelAlpha database
# Installing phpMyAdmin
Adding phpMyAdmin is a straightforward process that requires running a single command, access the SSH server and execute the below command:
docker run {--rm} --name appphpmyadmin -d --link app-database-api-1 -p 7070:80 --network app_default -e PMA_HOST=database-api.palocal phpmyadmin
Explanations:
--rm
: (optional) Automatically removes the container after it stops. This is useful if you only need temporary access to the database. For instance, if you are quickly inspecting or editing and do not want to manually delete the container afterward.-p 7070:80
: Maps the default phpMyAdmin port (80) to port 7070 on your server. You can change 7070 to another port if it is available.
# Accessing phpMyAdmin
- Once the command runs successfully, you can access phpMyAdmin via a web browser at:
http://SERVER_IP:7070
.
For example, if your server’s IP address is1.2.3.4
and phpMyAdmin is mapped to port7070
, go to:http://1.2.3.4:7070
.