Stop tracking .env and set default in docker-compose.yml

This commit is contained in:
PJ Dietz 2020-08-14 06:57:13 -04:00
parent 288705b77a
commit c75168afae
3 changed files with 6 additions and 3 deletions

1
.env
View File

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

6
.gitignore vendored
View File

@ -22,4 +22,8 @@ preview
workspace.xml
# Local scratch files
notes
notes
# Local overrides
.env
docker-compose.override.yml

View File

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