Skip to content
This repository was archived by the owner on Apr 25, 2022. It is now read-only.

Commit c14edec

Browse files
committed
Fixed permission issues
1 parent 67036e8 commit c14edec

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

.docker/php/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@ RUN docker-php-ext-enable xdebug \
4848
&& echo "xdebug.idekey = \"PHPSTORM\"" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini \
4949
&& echo "xdebug.remote_port = 9001" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
5050

51-
RUN usermod -u 501 www-data
51+
RUN usermod -u 1000 www-data
5252

5353
CMD php-fpm -F

docker-compose.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@ services:
77
build: .docker/php
88
volumes:
99
- .:/app
10+
- ./var/logs:/app/var/logs
11+
- ./var/cache.:/app/var/cache
1012

1113
nginx:
1214
container_name: sf.nginx
1315
build: .docker/nginx
1416
volumes_from:
1517
- app
1618
ports:
17-
- "8888:80"
19+
- "80:80"

var/cache/.gitkeep

100644100755
File mode changed.

var/logs/.gitkeep

100644100755
File mode changed.

0 commit comments

Comments
 (0)