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

Commit

Permalink
Fixed permission issues
Browse files Browse the repository at this point in the history
  • Loading branch information
drgomesp committed Apr 15, 2017
1 parent 67036e8 commit c14edec
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .docker/php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ RUN docker-php-ext-enable xdebug \
&& echo "xdebug.idekey = \"PHPSTORM\"" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini \
&& echo "xdebug.remote_port = 9001" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini

RUN usermod -u 501 www-data
RUN usermod -u 1000 www-data

CMD php-fpm -F
4 changes: 3 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ services:
build: .docker/php
volumes:
- .:/app
- ./var/logs:/app/var/logs
- ./var/cache.:/app/var/cache

nginx:
container_name: sf.nginx
build: .docker/nginx
volumes_from:
- app
ports:
- "8888:80"
- "80:80"
Empty file modified var/cache/.gitkeep
100644 → 100755
Empty file.
Empty file modified var/logs/.gitkeep
100644 → 100755
Empty file.

0 comments on commit c14edec

Please sign in to comment.