Skip to content

Commit 8e32357

Browse files
committed
Adds :delegated to nginx and php container volumes
1 parent f480e32 commit 8e32357

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ services:
1010
ports:
1111
- "8080:80"
1212
volumes:
13-
- ./src:/var/www/html
13+
- ./src:/var/www/html:delegated
1414
- ./nginx/default.conf:/etc/nginx/conf.d/default.conf
1515
depends_on:
1616
- php
@@ -41,7 +41,7 @@ services:
4141
dockerfile: php.dockerfile
4242
container_name: php
4343
volumes:
44-
- ./src:/var/www/html
44+
- ./src:/var/www/html:delegated
4545
ports:
4646
- "9000:9000"
4747
networks:
@@ -73,7 +73,7 @@ services:
7373
dockerfile: php.dockerfile
7474
container_name: artisan
7575
volumes:
76-
- ./src:/var/www/html
76+
- ./src:/var/www/html:delegated
7777
depends_on:
7878
- mysql
7979
working_dir: /var/www/html

0 commit comments

Comments
 (0)