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
podman search rhel | |
podman pull rhel | |
podman images | |
podman run ubi7/ubi:7.7 echo "Hello!" | |
podman run -d rhscl/httpd-24-rhel7:2.4-36.8 | |
curl http://10.88.0.68:8080 | |
podman run -it ubi7/ubi:7.7 /bin/bash | |
podman run -e GREET=Hello -e NAME=RedHat rhel7:7.5 printenv GREET NAME | |
podman run --name mysql-custom -e MYSQL_USER=redhat -e MYSQL_PASSWORD=r3dh4t -d rhmap47/mysql:5.5 |
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
// tsx seed.ts | |
import { faker } from '@faker-js/faker'; | |
import { pgTable, text, varchar, timestamp } from 'drizzle-orm/pg-core'; | |
import { drizzle, PostgresJsDatabase } from 'drizzle-orm/postgres-js'; | |
import { createInsertSchema } from 'drizzle-zod'; | |
import { customAlphabet } from 'nanoid'; | |
import postgres from 'postgres'; | |
import { z } from 'zod'; |