Skip to content

Commit e1cbb85

Browse files
author
DKravtsov
committed
Fixed docker-compose path mapping for the Docker Desktop, added README notes for MacOS users.
1 parent 04ec5b5 commit e1cbb85

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ services:
1717
- "${WEB_PORT_HTTP}:80"
1818
- "${WEB_PORT_SSL}:443"
1919
volumes:
20-
- .:/var/www/html:cached
20+
- ./:/var/www/html:cached
2121
depends_on:
2222
- mysql
2323
networks:

readme.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ Note: OS recommendation - Linux Ubuntu based.
2929

3030
2.For installing docker-compose as `Linux Standalone binary` please follow steps on the page [install compose](https://docs.docker.com/compose/install/other/#install-compose-standalone) if you are using Linux OS.
3131

32-
Note: Please run next cmd after above step 2 if you are using Linux OS: `sudo usermod -aG docker $USER`
32+
Note 1: Please run next cmd after above step 2 if you are using Linux OS: `sudo usermod -aG docker $USER`
33+
34+
Note 2: If you are using docker desktop for MacOS 12.2 or later - please enable [virtiofs](https://www.docker.com/blog/speed-boost-achievement-unlocked-on-docker-desktop-4-6-for-mac/) for the performance.
3335

3436
## Setting up DEV environment
3537
1.You can clone this repository from GitHub or install via composer.

0 commit comments

Comments
 (0)