Make local dev site port configurable

This commit is contained in:
PJ Dietz 2018-06-21 10:19:38 -04:00
parent 9ce784c897
commit 6f247bccfa
2 changed files with 3 additions and 2 deletions

1
.env Normal file
View File

@ -0,0 +1 @@
PORT=8080

View File

@ -21,11 +21,11 @@ services:
nginx:
image: nginx:1.15
ports:
- 8080:80
- ${PORT}:80
volumes:
- .:/usr/local/src/wellrested
- ./docker/nginx/site.conf:/etc/nginx/conf.d/default.conf
php-fpm:
image: php:7.2-fpm
volumes: