This page describes how to setup Cert-manager and generate TLS/SSL certificates automatically using Cert-manager on Kubernetes.
- Kubernetes
- Helm Package Manager Tool
| # ---- Full Dependency and Build Stage ---- | |
| FROM node:22-alpine AS build | |
| WORKDIR /src | |
| COPY package*.json ./ | |
| RUN npm ci --ignore-scripts --no-fund | |
| COPY . . |
| "use client"; | |
| import React, { useState } from "react"; | |
| import { AnimatePresence, motion } from "framer-motion"; | |
| import Image from "next/image"; | |
| import clsx from "clsx"; | |
| type Props = { | |
| onPick?: (card: string | null) => void; | |
| onSelect?: (card: string) => void; | |
| }; |
See the new site: https://postgresisenough.dev
Deploy the MongoDB Replica set using Ansible.
Pre-requisite:
Make sure to add hosts entries in /etc/hosts in all mongod instance. Verify whether it's reachable, i.e within network. Check it with ping or telnet. ping hostname/ip telnet hostname/ip mongo_port Quick guide
Adjust the hosts details in inventory. Adjust the global variables in group_vars/all
How do I implement "Allow users to request from all origins"?
Major frameworks's implementation is following.
*
*
*| import Keycloak from "keycloak-js"; | |
| const keycloakInstance = new Keycloak(); | |
| /** | |
| * Initializes Keycloak instance and calls the provided callback function if successfully authenticated. | |
| * | |
| * @param onAuthenticatedCallback | |
| */ | |
| const Login = (onAuthenticatedCallback: Function) => { |
| # syntax=docker/dockerfile:1 | |
| FROM mcr.microsoft.com/dotnet/sdk:6.0-alpine3.15 | |
| # FROM alpine:3.15 | |
| # | |
| ENV MDB_CONN_STR="mongodb+srv://user:password@clusterX.XXX.mongodb.net/test?retryWrites=true&w=majority" | |
| # | |
| RUN apk update | |
| RUN apk add git make cmake g++ libbson-static musl-dev libc-dev openssl openssl-dev py3-pip icu-dev bash nano coreutils | |
| RUN mkdir -p /code/app | |
| WORKDIR /code/app |