Skip to content

Latest commit

 

History

History
39 lines (35 loc) · 696 Bytes

README.md

File metadata and controls

39 lines (35 loc) · 696 Bytes

Cinema App

Installation

Build docker image

docker-compose build

Usage

Run docker image as a daemon

docker-compose up -d

Stop docker

docker-compose stop

Development

First, get into container

docker-compose exec app bash 

Composer install

composer install

Create table with generated/configured migration class

php artisan migrate 

Local connection

Configuration .env:

DOCKER_NGINX_EXTERNAL_PORT=8080 -> local machine service port access via request client (e.g. Postman) 
DOCKER_MYSQL_EXTERNAL_PORT=3316 -> in MySQL client (e.g. MySQL Workbench) set the address to localhost:3316 

php-course-2022-team5