Created
October 19, 2020 14:01
-
-
Save ItsMurumba/31ad98f2e966b726fc825ca4f60958f4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3.2' | |
| services: | |
| db: | |
| image: mysql:8.0 | |
| container_name: mysq_server | |
| restart: always | |
| volumes: | |
| - <directory for backup your DB>:/var/lib/mysql | |
| ports: | |
| - '6603:3306' | |
| environment: | |
| MYSQL_ROOT_PASSWORD: <password root for your mysql-server> | |
| app: | |
| depends_on: | |
| - db | |
| image: phpmyadmin/phpmyadmin | |
| container_name: phpmyadmin | |
| restart: always | |
| ports: | |
| - '80:80' | |
| environment: | |
| PMA_HOST: db |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment