Generate new keystore certificate
For more info, visit https://rnfirebase.io/
# Open your terminal
# Enter the following to generate your missing key. (if fails, try elevating your privileges with `sudo`).
/* eslint-disable @typescript-eslint/no-var-requires */ | |
const { pathsToModuleNameMapper } = require('ts-jest/utils') | |
const { compilerOptions } = require('./tsconfig.json') | |
module.exports = { | |
setupFiles: ['dotenv/config'], | |
clearMocks: true, | |
verbose: true, |
version: '3.7' | |
services: | |
database: | |
image: postgres | |
container_name: db_micro_service_email | |
restart: always | |
ports: | |
- ${DB_PORT}:${DB_PORT} | |
environment: |
Generate new keystore certificate
For more info, visit https://rnfirebase.io/
# Open your terminal
# Enter the following to generate your missing key. (if fails, try elevating your privileges with `sudo`).
ARG MONGO_VERSION | |
FROM mongo:${MONGO_VERSION} | |
# we take over the default & start mongo in replica set mode in a background task | |
ENTRYPOINT mongod --port $MONGO_REPLICA_PORT --replSet rs0 --bind_ip 0.0.0.0 & MONGOD_PID=$!; \ | |
# we prepare the replica set with a single node and prepare the root user config | |
INIT_REPL_CMD="rs.initiate({ _id: 'rs0', members: [{ _id: 0, host: '$MONGO_REPLICA_HOST:$MONGO_REPLICA_PORT' }] })"; \ | |
# we wait for the replica set to be ready and then submit the command just above | |
until ($MONGO_COMMAND admin --port $MONGO_REPLICA_PORT --eval "$INIT_REPL_CMD"); do sleep 1; done; \ |
{ | |
"editor.tabSize": 2, | |
"editor.fontSize": 14, | |
"editor.formatOnSave": true, | |
"explorer.compactFolders": false, | |
"editor.renderWhitespace": "all", | |
"editor.minimap.enabled": false, | |
"editor.renderLineHighlight": "none", | |
"editor.mouseWheelZoom": true, | |
"workbench.layoutControl.type": "menu", |
// Place your key bindings in this file to override the defaults | |
[ | |
{ | |
"key": "ctrl+shift+e", | |
"command": "workbench.view.explorer", | |
"when": "workbench.scm.active" | |
}, | |
{ | |
"key": "ctrl+shift+e", | |
"command": "-workbench.view.explorer", |
@use '../variables' | |
.app | |
display: flex | |
flex-direction: column | |
justify-content: center | |
padding-top: 90px | |
.main | |
display: grid |