File tree Expand file tree Collapse file tree 5 files changed +8
-9
lines changed Expand file tree Collapse file tree 5 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ services:
15
15
- ' question-db-docker:/data/question-db'
16
16
# - ./init.sql:/docker-entrypoint-initdb.d/init.sql
17
17
ports :
18
- - ' 5430 :5432'
18
+ - ' 5433 :5432'
19
19
restart : unless-stopped
20
20
21
21
express :
@@ -32,6 +32,5 @@ services:
32
32
postgres :
33
33
condition : service_started
34
34
restart : true
35
-
36
35
volumes :
37
36
question-db-docker :
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ export default defineConfig({
6
6
dialect : 'postgresql' ,
7
7
dbCredentials : {
8
8
host : 'localhost' ,
9
- port : 5431 ,
10
- database : 'template ' ,
9
+ port : 5433 ,
10
+ database : 'Question ' ,
11
11
user : 'user' ,
12
12
password : 'user' ,
13
13
} ,
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ import { migrate } from 'drizzle-orm/postgres-js/migrator';
5
5
const user = 'user' ;
6
6
const password = 'user' ;
7
7
const url = 'localhost' ;
8
- const database = 'template ' ;
9
- const port = 5431 ;
8
+ const database = 'Question ' ;
9
+ const port = 5433 ;
10
10
11
11
const CONNECTION_STRING = `postgresql://${ user } :${ password } @${ url } :${ port } /${ database } ` ;
12
12
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " template " ,
2
+ "name" : " question " ,
3
3
"version" : " 1.0.0" ,
4
4
"main" : " dist/index.js" ,
5
5
"scripts" : {
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ import postgres from 'postgres';
3
3
4
4
const queryClient = postgres ( {
5
5
host : 'localhost' ,
6
- port : 5430 ,
7
- database : 'template ' ,
6
+ port : 5433 ,
7
+ database : 'Question ' ,
8
8
user : 'user' ,
9
9
password : 'user' ,
10
10
} ) ;
You can’t perform that action at this time.
0 commit comments