Public Repository

Last pushed: 2 years ago
Short Description
phpMyAdmin via SSL with self-signed certificate
Full Description

Based on maxexcloo/phpmyadmin. Just generate self-signer certificate and add it for nginx by default. You can run container by the next command:

docker run --name="phpmyadminssl" -d -p 443:443 \
--link mysql:mariadb \
-v /opt/ssl:/data/ssl \
--restart=always \
kostin/phpmyadminssl

Where mysql is your mysql container name and /opt/ssl is a host directory for self-signed key storage.

You can create self-signet certificate with next commands on host machine:

mkdir -p /opt/ssl
openssl req -subj '/CN=localhost' \
  -newkey rsa:2048 -nodes -keyout /opt/ssl/server.key \
  -x509 -days 3650 -out /opt/ssl/server.crt

Also sourcecode can found on https://github.com/kostin/docker-phpmyadmin-ssl

Docker Pull Command
Owner
kostin