Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

Rename config for docker #176

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion config/default-docker.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
{
"baseURL": "http://api.127.0.0.1.xip.io:3030",
"frontURL": "http://webapp.127.0.0.1.xip.io:3030",
"mongodb": "mongodb://mongo:27017/hc_api",
"host": "0.0.0.0"
"host": "0.0.0.0",
"authentication": {
"jwt": {
"audience": "http://webapp.127.0.0.1.xip.io:3030"
}
}
}
1 change: 1 addition & 0 deletions docker-compose.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ services:
api:
environment:
- NODE_ENV=development
- NODE_APP_INSTANCE=docker
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not strictly required as it is set in the Dockerfile @ionphractal

ports:
- "3030:3030"
- "9229:9229" # node inspect
Expand Down