Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 29422f5

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

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

‎docker-compose-prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ services:
1515
- "${WEB_PORT_HTTP}:80"
1616
- "${WEB_PORT_SSL}:443"
1717
volumes:
18-
- .:/var/www/html:ro,cached
18+
- ./:/var/www/html:ro,cached
1919
depends_on:
2020
- laravel
2121
networks:

‎docker-compose-staging.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ services:
1515
- "${WEB_PORT_HTTP}:80"
1616
- "${WEB_PORT_SSL}:443"
1717
volumes:
18-
- .:/var/www/html:ro,cached
18+
- ./:/var/www/html:ro,cached
1919
depends_on:
2020
- laravel
2121
networks:

‎docker-compose-test-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ services:
1515
- "${WEB_PORT_HTTP}:80"
1616
- "${WEB_PORT_SSL}:443"
1717
volumes:
18-
- .:/var/www/html:ro,cached
18+
- ./:/var/www/html:ro,cached
1919
depends_on:
2020
- laravel
2121
networks:

‎docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ services:
1515
- "${WEB_PORT_HTTP}:80"
1616
- "${WEB_PORT_SSL}:443"
1717
volumes:
18-
- .:/var/www/html:ro,cached
18+
- ./:/var/www/html:ro,cached
1919
depends_on:
2020
- laravel
2121
networks:
@@ -33,7 +33,7 @@ services:
3333
dockerfile: ./Dockerfile
3434
container_name: ${COMPOSE_PROJECT_NAME}-laravel
3535
volumes:
36-
- .:/var/www/html:cached
36+
- ./:/var/www/html:cached
3737
depends_on:
3838
- mysql
3939
networks:

‎readme.md

Lines changed: 3 additions & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /