mirror of
https://github.com/Aviortheking/CA_LARAVEL.git
synced 2025-04-22 10:52:14 +00:00
37 lines
680 B
YAML
Executable File
37 lines
680 B
YAML
Executable File
version: "3"
|
|
services:
|
|
mariadb:
|
|
ports:
|
|
- "127.0.0.1:3307:3306"
|
|
|
|
php:
|
|
image: project
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
args:
|
|
dev: "yes"
|
|
volumes:
|
|
- ./:/project
|
|
ports:
|
|
- "127.0.0.1:8000:8000"
|
|
command: "php artisan serve --host=0.0.0.0 --port=8000"
|
|
|
|
# run phpmyadmin to debug mysql
|
|
phpmyadmin:
|
|
image: phpmyadmin/phpmyadmin
|
|
environment:
|
|
- PMA_HOST=mariadb
|
|
- PMA_PORT=3306
|
|
- PMA_USER=root
|
|
- PMA_PASSWORD=4sfdg64s89g4sfd6g84sd6g45
|
|
ports:
|
|
- 8101:80
|
|
networks:
|
|
- studiomoto
|
|
yarn:
|
|
image: project
|
|
volumes:
|
|
- ./:/project
|
|
command: "yarn watch"
|