remove references to .env in docker-compose

This commit is contained in:
Cassie Tarakajian 2018-08-09 14:12:17 -04:00
parent 549d622c6f
commit 27c9ea8939

View file

@ -10,8 +10,8 @@ services:
ports: ports:
- '27017:27017' - '27017:27017'
# restart: always # restart: always
env_file: # env_file:
- "$PWD/.env" # - "$PWD/.env"
nginx: nginx:
image: nginx:1.13 image: nginx:1.13
volumes: volumes:
@ -27,8 +27,8 @@ services:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
target: production target: production
env_file: # env_file:
- "$PWD/.env" # - "$PWD/.env"
environment: environment:
- MONGO_URL=mongodb://mongo:27017/p5js-web-editor - MONGO_URL=mongodb://mongo:27017/p5js-web-editor
- MONGO_HOSTNAME=mongo - MONGO_HOSTNAME=mongo