2022-11-23 09:32:34 +01:00
|
|
|
version: '3.3'
|
|
|
|
|
|
|
|
# LARAVEL ENVIRONMENT COMPOSE
|
|
|
|
|
|
|
|
services:
|
2023-02-02 08:17:38 +01:00
|
|
|
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"
|
|
|
|
|
2023-01-01 20:13:11 +01:00
|
|
|
phpmyadmin:
|
|
|
|
image: phpmyadmin/phpmyadmin
|
|
|
|
container_name: phpmyadmin
|
2022-11-23 09:32:34 +01:00
|
|
|
restart: always
|
2023-02-03 09:05:29 +01:00
|
|
|
links:
|
|
|
|
- mysql
|
2022-11-23 09:32:34 +01:00
|
|
|
ports:
|
2023-01-01 20:13:11 +01:00
|
|
|
- "8080:80"
|
|
|
|
environment:
|
2023-02-02 08:17:38 +01:00
|
|
|
PMA_HOST: mysql
|
|
|
|
PMA_USER: root
|
|
|
|
PMA_PASSWORD: root
|
2023-01-01 20:13:11 +01:00
|
|
|
PMA_ARBITRARY: 1
|
|
|
|
PMA_ABSOLUTE_URI: http://localhost:8080/
|