Skip to content

Commit

Permalink
Update docker to use alpine nginx/php-fpm images
Browse files Browse the repository at this point in the history
  • Loading branch information
daveearley committed Jul 18, 2017
1 parent 65de58f commit 4bcfb32
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Docker/nginx/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ server {
fastcgi_pass php:9000;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME /web/$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
}
}
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '2'
services:
web:
image: nginx:latest
image: nginx:1.13.3-alpine
ports:
- "8880:80"
volumes:
Expand All @@ -10,6 +10,6 @@ services:
links:
- php
php:
image: php:7.0.21-alpine
image: php:7.0.21-fpm-alpine
volumes:
- .:/web

0 comments on commit 4bcfb32

Please sign in to comment.