-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR has morphed a bit from its original form:
- Update Node to Node 5.x - Add docker compose for easier provisioning - Add userName and realName for the bot - Wait until the bot is connected to log the channel it is on - Address a security vulnerability in moment.js - Add david-dm.org badge to track up to date packages and whether or not - they are vulnerable
- Loading branch information
1 parent
4ca141e
commit cd318be
Showing
11 changed files
with
78 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
irc:channel=#openmrstest | ||
elasticsearch:host=http://elasticsearch:9200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,5 @@ | |
config.json | ||
node_modules | ||
logs | ||
npm-debug.log | ||
npm-debug.log | ||
esdata |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
FROM node:4-onbuild | ||
FROM node:5-onbuild | ||
|
||
EXPOSE 3000 | ||
EXPOSE 3000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
elasticsearch: | ||
ports: | ||
– "9200:9200" | ||
- "9300:9300" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
elasticsearch: | ||
ports: | ||
- "127.0.0.1:9200:9200" | ||
- "127.0.0.1:9300:9300" | ||
restart: unless-stopped | ||
|
||
web: | ||
ports: | ||
- "80:3000" | ||
restart: unless-stopped | ||
environment: | ||
- NODE_ENV=production |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
web: | ||
build: . | ||
ports: | ||
- "3000:3000" | ||
links: | ||
- elasticsearch | ||
env_file: ./.env | ||
restart: unless-stopped | ||
|
||
elasticsearch: | ||
image: elasticsearch:latest | ||
command: elasticsearch -Des.network.bindHost=0.0.0.0 | ||
restart: unless-stopped | ||
volumes: | ||
- "./esdata:/usr/share/elasticsearch/data" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters