-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Adding prometheus and grafana do docker-compose - Adding swagger stats and api to project
- Loading branch information
Showing
21 changed files
with
13,737 additions
and
854 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 @@ | ||
node_modules | ||
npm-debug.log |
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,6 +1,7 @@ | ||
GITHUB_TOKEN = 'myToken' | ||
DATABASE_ADDRESS = 'localhost' | ||
DATABASE_ADDRESS = 'mongodb' | ||
DATABASE_USERNAME = 'root' | ||
DATABASE_PASSWORD = 'my_password' | ||
DATABASE_PORT = 27017 | ||
LOGGER_ENABLED = true | ||
|
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 @@ | ||
FROM node:alpine as builder | ||
|
||
WORKDIR /usr/app | ||
|
||
COPY package*.json ./ | ||
RUN npm i | ||
|
||
COPY . . | ||
|
||
RUN npm run build | ||
|
||
|
||
EXPOSE 8080 | ||
|
||
CMD ["npm", "start"] |
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,11 @@ | ||
route: | ||
receiver: 'slack' | ||
|
||
receivers: | ||
- name: 'slack' | ||
slack_configs: | ||
- send_resolved: true | ||
text: '{{ .CommonAnnotations.description }}' | ||
username: 'Prometheus' | ||
channel: '#prometheus' | ||
api_url: 'https://hooks.slack.com/services/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' |
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 @@ | ||
apiVersion: 1 | ||
|
||
providers: | ||
- name: 'Prometheus' | ||
orgId: 1 | ||
folder: '' | ||
type: file | ||
disableDeletion: false | ||
editable: true | ||
allowUiUpdates: true | ||
options: | ||
path: /etc/grafana/provisioning/dashboards |
Oops, something went wrong.