version: '3.3' # LARAVEL ENVIRONMENT COMPOSE services: mysql: image: mysql:5.7 container_name: mysql environment: MYSQL_ROOT_PASSWORD: root MYSQL_DATABASE: laravel MYSQL_USER: laravel MYSQL_PASSWORD: laravel ports: - "3306:3306" phpmyadmin: image: phpmyadmin/phpmyadmin container_name: phpmyadmin restart: always ports: - "8080:80" environment: PMA_HOST: mysql PMA_USER: root PMA_PASSWORD: root PMA_ARBITRARY: 1 PMA_ABSOLUTE_URI: http://localhost:8080/