In this tutorial, we are going to use this image: phpmyadmin/phpmyadmin
In DSM go to Docker -> Registry and search for
phpmyadmin
:Download the second result, phpmyadmin/phpmyadmin image. Pick the latest image, when asked.
Once downloaded, go to the Image tab and double click on phpmyadmin/phpmyadmin.
Click Advanced settings and Enable auto-restart (optional) in next screen.
Skip the Volume and Network tab.
In Port Settings tab set the local port number to any number (for instance, I set it to 3333):
Skip the Links tab.
In Environmnent tab set the variables (click the + symbol):
Variable | Value |
---|---|
PMA_HOST | < you NAS IP > |
PMA_PORT | < local port of your database container > |
* Where can I find
< local port of your database container >
? In the next tutorial.Apply changes and save everything.
phpMyAdmin should be available on
http://yourNASip:pmaLocalPort
. For instance, if you NAS IP is 192.168.0.10 and PMA local port is 3333, then you'll be connecting to http://192.168.0.10:3333
.For username use
root
, and password is the MYSQL_ROOT_PASSWORD
you set in the MariaDB container (check environmental variables).** for some reason I can't connect to MariaDB via phpMyAdmin in Safari, so maybe try another browser, like Firefox.
- Related resources
-
Docker - MariaDB - one of the most popular database servers
Mariadb is one of the most popular database servers. Made by the original developers of MySQL. In this tutorial, we are going to use this image: linuxserver/mariadb In DSM go to Docker -> Registry and search for mariadb: Download the second...www.synoforum.com