This file contains hidden or 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
# psql dump table | |
source .env | |
pg_dump --host $POSTGRES_HOST --user $POSTGRES_USER --format custom --section data --on-conflict-do-nothing --inserts --file "$TABLE.sql" --table "$TABLE" $POSTGRES_DATABASE | |
# psql restore data | |
pg_restore -h 127.0.0.1 -U {user} -d {database} {table}.sql |
This file contains hidden or 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
prometheus: | |
## Prometheus server ConfigMap entries | |
## | |
serverFiles: | |
alerts: {} | |
rules: {} | |
prometheus.yml: | |
# https://prometheus.io/docs/prometheus/latest/configuration/configuration/ | |
global: |
This file contains hidden or 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
module.exports = { | |
"extends": "airbnb-base", | |
"rules": { | |
"indent": ["error", 4, { "SwitchCase": 1 }], | |
'no-restricted-syntax': [ | |
'error', | |
'LabeledStatement', | |
'WithStatement', | |
], | |
'no-bitwise' : 0, |
This file contains hidden or 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
user nginx; | |
worker_processes 1; | |
error_log /var/log/nginx/error.log warn; | |
pid /var/run/nginx.pid; | |
events { | |
worker_connections 10000; | |
} | |
worker_rlimit_nofile 40000; |