cineflex/docker-compose.yml

30 lines
703 B
YAML

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
links:
- mysql
ports:
- "8080:80"
environment:
PMA_HOST: mysql
PMA_USER: root
PMA_PASSWORD: root
PMA_ARBITRARY: 1
PMA_ABSOLUTE_URI: http://localhost:8080/