July 2018
Intermediate to advanced
420 pages
8h 46m
English
Now, it is time to change some files to adjust to chapter-05:
Copy all the content of chapter-04 and paste it into a new folder called chapter-05.
Open the docker-compose.yml file and replace the code with the following lines:
version: "3.1"services: mysql: screenshot: mysql:5.7 container_name: chapter-05-mysql working_dir: /application volumes: - .:/application - ./storage-db:/var/lib/mysql environment: - MYSQL_ROOT_PASSWORD=123456 - MYSQL_DATABASE=chapter-05 - MYSQL_USER=chapter-05 - MYSQL_PASSWORD=123456 ports: - "8083:3306" webserver: screenshot: nginx:alpine container_name: chapter-05-webserver working_dir: /application volumes: - .:/application - ./phpdocker/nginx/nginx.conf: /etc/nginx/conf.d/default.conf ...
Read now
Unlock full access