Skip to content

Run mysql and phpmyadmin in one package using docker compose instead of installing the services individually. Can mount mysql-data directory so that you can start using an existing database backup

Notifications You must be signed in to change notification settings

gathecageorge/global-mysql-phpmyadmin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

setup

  1. Clone repo
  2. Copy .env_template to .env
  3. Edit .env accordinly
  4. Docker compose run

commands summary

cp .env_template .env
nano .env

docker-compose up -d

NB: mysql_data created can be backed up as it contains all databases and their settings.

Next time when starting, just place mysql_data folder in the directory to be mounted instead of created and thus restore the previous state.

About

Run mysql and phpmyadmin in one package using docker compose instead of installing the services individually. Can mount mysql-data directory so that you can start using an existing database backup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published