sn0wm1ku / alpine-pma

phpMyAdmin base on alpine docker image with aws-tools installed. Suitable for tunneling.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

alpine-pma

Untitled phpMyAdmin with AWS tools inside. Design for connecting isolated RDS DB.

Pre-requesties

  • RDS with Bastion (EC2) in isolated Subnet
  • SSM permission for Bastion
  • .aws/config and .aws/credential setup

Setup

Docker Commands

Pulling image

docker image pull sn0wm1ku/alpine-pma:latest

Running container

docker run --name alpine-pma --env-file .env -v ~/.aws:/root/.aws -p80:80 -d sn0wm1ku/alpine-pma

Environment Variable

  • AWS_PROFILE The Name of Profile to be use with Tunneling
  • RDS_TYPE Instance or Cluster Weather the RDS is an Instance Type (RDS) or Cluster Type (RDS Aurora)
  • PMA_HOST/PMA_HOSTS Endpoint for RDS, since tunneling, suggest setting to 127.0.0.1
  • PMA_VERBOSE/PMA_VERBOSES Alias for the RDS.
  • PMA_PORT/PMA_PORTS Port for RDS.

Mount Volume

  • ~/.aws Please Mount this to the /root folder of container.

About

phpMyAdmin base on alpine docker image with aws-tools installed. Suitable for tunneling.


Languages

Language:Dockerfile 66.6%Language:Shell 33.4%