Reason:
The current Docker Compose configuration wasn't working.
Add .dockerignore file to omit certain items from being tracked.
Add .env file to .gitignore so environment variables aren't exposed.
Redo Dockerfile to get environment running properly.
node:9.11 was being used. I went with mhart/alpine-node:6.14.3.
If there are reasons we should use node:9.11 this can be changed.
Import Mongoose into app.js and do a database connection check.
Redo docker-compose.yml to containerize app and database separately.
Clean up package.json to remove unused templating languages and add
other dependencies we will be using.
Note:
Jonathon, I didn't realize you had made modifications to app.js and package.json. There may be a merge conflict in a couple places. If so, and they need to be resolved on my end just deny this and let me know. I'm getting the "Able to merge" note so hopefully there aren't any issues.
Reason: The current Docker Compose configuration wasn't working. Add
.dockerignore
file to omit certain items from being tracked. Add.env
file to.gitignore
so environment variables aren't exposed. RedoDockerfile
to get environment running properly.node:9.11
was being used. I went withmhart/alpine-node:6.14.3
.node:9.11
this can be changed. Import Mongoose intoapp.js
and do a database connection check. Redodocker-compose.yml
to containerize app and database separately. Clean uppackage.json
to remove unused templating languages and add other dependencies we will be using.Note: Jonathon, I didn't realize you had made modifications to app.js and package.json. There may be a merge conflict in a couple places. If so, and they need to be resolved on my end just deny this and let me know. I'm getting the "Able to merge" note so hopefully there aren't any issues.