Skip to content

Commit bbd3af1

Browse files
Merge branch 'default' into revert-17-default
2 parents 4305e7e + 6d50f13 commit bbd3af1

7 files changed

Lines changed: 22 additions & 7760 deletions

File tree

File renamed without changes.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ package-lock.json
1313
/.next/
1414
/out/
1515
drizzle
16+
package-lock.json
1617

1718
# production
1819
/build

docker-compose.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
version: "3.9"
2+
services:
3+
find-devs-db:
4+
image: postgres
5+
restart: always
6+
container_name: find-devs-db
7+
ports:
8+
- 5432:5432
9+
environment:
10+
POSTGRES_PASSWORD: sabbir
11+
PGDATA: /data/postgres
12+
volumes:
13+
- postgres:/data/postgres
14+
15+
volumes:
16+
postgres:

drizzle.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import { defineConfig } from "drizzle-kit";
22
import dotenv from "dotenv";
33
dotenv.config();
44

5+
if (!process.env.DATABASE_URI) throw new Error("DATABASE_URL is missing");
56
export const DATABASE_URI = process.env.DATABASE_URI;
6-
if (!DATABASE_URI) throw new Error("DATABASE_URL is missing");
77

88
export default defineConfig({
99
schema: "./src/schemas/*",

0 commit comments

Comments
 (0)