-
-
Notifications
You must be signed in to change notification settings - Fork 235
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
129 changed files
with
6,903 additions
and
4,574 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,4 @@ | ||
{ | ||
"presets": ["next/babel"], | ||
"plugins": [] | ||
} |
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 @@ | ||
POSTGRES_PORT=5432 | ||
POSTGRES_NAME=docketeer-db | ||
POSTGRES_USER=postgres | ||
POSTGRES_PASS=postgres |
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,62 +1,64 @@ | ||
// module.exports = { | ||
// env: { | ||
// browser: true, | ||
// commonjs: true, | ||
// es2021: true, | ||
// node: true, | ||
// }, | ||
// plugins: ['react', '@typescript-eslint'], | ||
// extends: [ | ||
// 'eslint:recommended', | ||
// 'plugin:react/recommended', | ||
// 'plugin:@typescript-eslint/recommended', | ||
// ], | ||
// ignorePatterns: ['.eslintrc.js', '*.config.js', 'dist/*', '__tests__/*'], | ||
// overrides: [], | ||
// parserOptions: { | ||
// ecmaVersion: 12, | ||
// sourceType: 'module', | ||
// }, | ||
// settings: { | ||
// react: { | ||
// version: 'detect', | ||
// }, | ||
// }, | ||
// rules: { | ||
// indent: ['warn', 2], | ||
// 'no-unused-vars': ['off', { vars: 'local' }], | ||
// 'prefer-const': 'warn', | ||
// quotes: ['warn', 'single'], | ||
// semi: ['warn', 'always'], | ||
// 'space-infix-ops': 'warn', | ||
// 'no-console': 'off', | ||
// 'no-restricted-syntax': [ | ||
// 'error', | ||
// { | ||
// selector: | ||
// "CallExpression[callee.object.name='console'][callee.property.name!=/^(log|warn|error|info|trace)$/]", | ||
// message: 'Unexpected property on console object was called', | ||
// }, | ||
// ], | ||
// 'spaced-comment': [ | ||
// 'error', | ||
// 'always', | ||
// { | ||
// line: { | ||
// markers: ['/'], | ||
// exceptions: ['-', '+'], | ||
// }, | ||
// block: { | ||
// markers: ['!'], | ||
// exceptions: ['*'], | ||
// balanced: true, | ||
// }, | ||
// }, | ||
// ], | ||
// | ||
// // ---- TYPESCRIPT ---- // | ||
// '@typescript-eslint/explicit-function-return-type': 'off', | ||
// '@typescript-eslint/no-unused-vars': 'error', | ||
// '@typescript-eslint/semi': ['warn', 'always'], | ||
// }, | ||
// }; | ||
module.exports = { | ||
env: { | ||
browser: true, | ||
commonjs: true, | ||
es2021: true, | ||
node: true, | ||
}, | ||
plugins: ['react', '@typescript-eslint'], | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:react/recommended', | ||
'plugin:@typescript-eslint/recommended', | ||
'plugin:react-hooks/recommended', | ||
], | ||
ignorePatterns: ['.eslintrc.js', '*.config.js', 'dist/*', '__tests__/*'], | ||
overrides: [], | ||
parserOptions: { | ||
ecmaVersion: 12, | ||
sourceType: 'module', | ||
}, | ||
settings: { | ||
react: { | ||
version: 'detect', | ||
}, | ||
}, | ||
rules: { | ||
indent: ['warn', 2], | ||
'no-unused-vars': ['off', { vars: 'local' }], | ||
'prefer-const': 'warn', | ||
quotes: ['warn', 'single'], | ||
semi: ['warn', 'always'], | ||
'space-infix-ops': 'warn', | ||
'no-console': 'off', | ||
'no-restricted-syntax': [ | ||
'error', | ||
{ | ||
selector: | ||
"CallExpression[callee.object.name='console'][callee.property.name!=/^(log|warn|error|info|trace)$/]", | ||
message: 'Unexpected property on console object was called', | ||
}, | ||
], | ||
'spaced-comment': [ | ||
'error', | ||
'always', | ||
{ | ||
line: { | ||
markers: ['/'], | ||
exceptions: ['-', '+'], | ||
}, | ||
block: { | ||
markers: ['!'], | ||
exceptions: ['*'], | ||
balanced: true, | ||
}, | ||
}, | ||
], | ||
|
||
// ---- TYPESCRIPT ---- // | ||
// '@typescript-eslint/no-explicit-any': ['error'], | ||
'@typescript-eslint/explicit-function-return-type': 'off', | ||
'@typescript-eslint/no-unused-vars': 'error', | ||
'@typescript-eslint/semi': ['warn', 'always'], | ||
}, | ||
}; |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,95 @@ | ||
version: '3.8' | ||
services: | ||
db: | ||
container_name: docketeerdb | ||
image: docketeerxi/postgres | ||
restart: always | ||
ports: | ||
- '${POSTGRES_PORT}:5432' | ||
volumes: | ||
- ./imageConfigs/postgres/docketeerdb:/var/lib/postgresql/data/ | ||
|
||
environment: | ||
POSTGRES_DB: ${POSTGRES_NAME} | ||
POSTGRES_USER: ${POSTGRES_USER} | ||
POSTGRES_PASSWORD: ${POSTGRES_PASS} | ||
|
||
cadvisor: | ||
image: gcr.io/cadvisor/cadvisor:v0.47.1 | ||
container_name: cadvisor | ||
ports: | ||
- '8080:8080' | ||
|
||
volumes: | ||
- /:/rootfs:ro | ||
- /var/run/docker.sock:/var/run/docker.sock:rw | ||
- /sys:/sys:ro | ||
- /var/lib/docker/:/var/lib/docker:ro | ||
- /etc/machine-id:/etc/machine-id:ro | ||
|
||
labels: | ||
org_prometheus_starter: 'true' | ||
org_prometheus_starter_path: '/metrics' | ||
|
||
node-exporter: | ||
image: docketeerxi/nodeex | ||
container_name: node-exporter | ||
ports: | ||
- '9100:9100' | ||
volumes: | ||
#system info for linux machines | ||
- /proc:/host/proc:ro | ||
# also for linux | ||
- /sys:/host/sys:ro | ||
#root | ||
- /:/rootfs:ro | ||
depends_on: | ||
- db | ||
|
||
prometheus: | ||
image: docketeerxi/prometheus | ||
container_name: prometheus | ||
ports: | ||
- '9090:9090' | ||
|
||
#can add volume here to persist the prometheus data. | ||
depends_on: | ||
- node-exporter | ||
labels: | ||
org_prometheus_starter: 'true' | ||
org_prometheus_starter_port: '9090' | ||
org_prometheus_starter_path: '/metrics' | ||
|
||
grafana: | ||
image: grafana/grafana:latest | ||
container_name: grafana | ||
ports: | ||
- 2999:3000 | ||
environment: | ||
GF_PATHS_CONFIG: /etc/grafana/grafana.ini | ||
GF_AUTH_ANONYMOUS_ENABLED: 'true' | ||
|
||
volumes: | ||
- ./imageConfigs/grafana/data:/var/lib/grafana | ||
- ./imageConfigs/grafana/provisioning/dashboards:/etc/grafana/provisioning/dashboards | ||
- ./imageConfigs/grafana/provisioning/datasources:/etc/grafana/provisioning/datasources | ||
- ./imageConfigs/grafana/grafana.ini:/etc/grafana/grafana.ini | ||
- ./imageConfigs/grafana/plugins:/var/lib/grafana/plugins | ||
|
||
depends_on: | ||
- prometheus | ||
dev: | ||
image: docketeerxi/docketeer-dev | ||
container_name: docketeer-dev | ||
build: | ||
dockerfile: dockerfile-dev | ||
ports: | ||
- 4000:4000 | ||
volumes: | ||
- /var/run/docker.sock:/var/run/docker.sock | ||
- ./:/app | ||
- node_modules:/app/node_modules | ||
command: npm run dev | ||
|
||
volumes: | ||
node_modules: |
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
Oops, something went wrong.