Skip to content

Commit

Permalink
add db prisma docker
Browse files Browse the repository at this point in the history
  • Loading branch information
DCRepublic committed Sep 21, 2024
1 parent 2580c7e commit 18371d3
Show file tree
Hide file tree
Showing 977 changed files with 1,099 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@ yarn-error.log*
# typescript
*.tsbuildinfo
next-env.d.ts

.env*
7 changes: 7 additions & 0 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM node:lts-bullseye
ENV NODE_ENV=production
WORKDIR /usr/src/app
# Leave ports for compose
# EXPOSE 3000
RUN chown -R node /usr/src/app
USER node
32 changes: 32 additions & 0 deletions docker-compose.debug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
version: "3.4"

services:
schedulerv2:
build:
context: .
dockerfile: ./Dockerfile.dev
volumes:
- .:/usr/src/app
environment:
NODE_ENV: development
DOMAIN: http://127.0.0.1:3000/
DATABASE_URL: ""
#KEYCLOAK_ID: "rsdv2"
#KEYCLOAK_ISSUER: "https://auth.sccs.swarthmore.edu/realms/master"
#NEXTAUTH_URL: "http://localhost:3000"
ports:
- 3000:3000
- 9229:9229
- 5555:5555
command: sh -c "npm install --silent && npx prisma generate && npm run dev "

db:
image: postgres:16.4-bullseye
ports:
- 3306:3306
environment:
POSTGRES_PASSWORD: S3cret
POSTGRES_USER: scheduler
POSTGRES_DB: scheduler_db
volumes:
- ./postgres:/var/lib/postgresql/data
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"@nextui-org/switch": "2.0.34",
"@nextui-org/system": "2.2.6",
"@nextui-org/theme": "2.2.11",
"@prisma/client": "^5.19.1",
"@react-aria/ssr": "3.9.4",
"@react-aria/visually-hidden": "3.8.12",
"clsx": "2.1.1",
Expand Down
1 change: 1 addition & 0 deletions postgres/PG_VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
16
Binary file added postgres/base/1/112
Binary file not shown.
Binary file added postgres/base/1/113
Binary file not shown.
Binary file added postgres/base/1/1247
Binary file not shown.
Binary file added postgres/base/1/1247_fsm
Binary file not shown.
Binary file added postgres/base/1/1247_vm
Binary file not shown.
Binary file added postgres/base/1/1249
Binary file not shown.
Binary file added postgres/base/1/1249_fsm
Binary file not shown.
Binary file added postgres/base/1/1249_vm
Binary file not shown.
Binary file added postgres/base/1/1255
Binary file not shown.
Binary file added postgres/base/1/1255_fsm
Binary file not shown.
Binary file added postgres/base/1/1255_vm
Binary file not shown.
Binary file added postgres/base/1/1259
Binary file not shown.
Binary file added postgres/base/1/1259_fsm
Binary file not shown.
Binary file added postgres/base/1/1259_vm
Binary file not shown.
Binary file added postgres/base/1/13373
Binary file not shown.
Binary file added postgres/base/1/13373_fsm
Binary file not shown.
Binary file added postgres/base/1/13373_vm
Binary file not shown.
Empty file added postgres/base/1/13376
Empty file.
Binary file added postgres/base/1/13377
Binary file not shown.
Binary file added postgres/base/1/13378
Binary file not shown.
Binary file added postgres/base/1/13378_fsm
Binary file not shown.
Binary file added postgres/base/1/13378_vm
Binary file not shown.
Empty file added postgres/base/1/13381
Empty file.
Binary file added postgres/base/1/13382
Binary file not shown.
Binary file added postgres/base/1/13383
Binary file not shown.
Binary file added postgres/base/1/13383_fsm
Binary file not shown.
Binary file added postgres/base/1/13383_vm
Binary file not shown.
Empty file added postgres/base/1/13386
Empty file.
Binary file added postgres/base/1/13387
Binary file not shown.
Binary file added postgres/base/1/13388
Binary file not shown.
Binary file added postgres/base/1/13388_fsm
Binary file not shown.
Binary file added postgres/base/1/13388_vm
Binary file not shown.
Empty file added postgres/base/1/13391
Empty file.
Binary file added postgres/base/1/13392
Binary file not shown.
Empty file added postgres/base/1/1417
Empty file.
Empty file added postgres/base/1/1418
Empty file.
Binary file added postgres/base/1/174
Binary file not shown.
Binary file added postgres/base/1/175
Binary file not shown.
Binary file added postgres/base/1/2187
Binary file not shown.
Empty file added postgres/base/1/2224
Empty file.
Binary file added postgres/base/1/2228
Binary file not shown.
Empty file added postgres/base/1/2328
Empty file.
Empty file added postgres/base/1/2336
Empty file.
Binary file added postgres/base/1/2337
Binary file not shown.
Binary file added postgres/base/1/2579
Binary file not shown.
Binary file added postgres/base/1/2600
Binary file not shown.
Binary file added postgres/base/1/2600_fsm
Binary file not shown.
Binary file added postgres/base/1/2600_vm
Binary file not shown.
Binary file added postgres/base/1/2601
Binary file not shown.
Binary file added postgres/base/1/2601_fsm
Binary file not shown.
Binary file added postgres/base/1/2601_vm
Binary file not shown.
Binary file added postgres/base/1/2602
Binary file not shown.
Binary file added postgres/base/1/2602_fsm
Binary file not shown.
Binary file added postgres/base/1/2602_vm
Binary file not shown.
Binary file added postgres/base/1/2603
Binary file not shown.
Binary file added postgres/base/1/2603_fsm
Binary file not shown.
Binary file added postgres/base/1/2603_vm
Binary file not shown.
Empty file added postgres/base/1/2604
Empty file.
Binary file added postgres/base/1/2605
Binary file not shown.
Binary file added postgres/base/1/2605_fsm
Binary file not shown.
Binary file added postgres/base/1/2605_vm
Binary file not shown.
Binary file added postgres/base/1/2606
Binary file not shown.
Binary file added postgres/base/1/2606_fsm
Binary file not shown.
Binary file added postgres/base/1/2606_vm
Binary file not shown.
Binary file added postgres/base/1/2607
Binary file not shown.
Binary file added postgres/base/1/2607_fsm
Binary file not shown.
Binary file added postgres/base/1/2607_vm
Binary file not shown.
Binary file added postgres/base/1/2608
Binary file not shown.
Binary file added postgres/base/1/2608_fsm
Binary file not shown.
Binary file added postgres/base/1/2608_vm
Binary file not shown.
Binary file added postgres/base/1/2609
Binary file not shown.
Binary file added postgres/base/1/2609_fsm
Binary file not shown.
Binary file added postgres/base/1/2609_vm
Binary file not shown.
Binary file added postgres/base/1/2610
Binary file not shown.
Binary file added postgres/base/1/2610_fsm
Binary file not shown.
Binary file added postgres/base/1/2610_vm
Binary file not shown.
Empty file added postgres/base/1/2611
Empty file.
Binary file added postgres/base/1/2612
Binary file not shown.
Binary file added postgres/base/1/2612_fsm
Binary file not shown.
Binary file added postgres/base/1/2612_vm
Binary file not shown.
Empty file added postgres/base/1/2613
Empty file.
Binary file added postgres/base/1/2615
Binary file not shown.
Binary file added postgres/base/1/2615_fsm
Binary file not shown.
Binary file added postgres/base/1/2615_vm
Binary file not shown.
Binary file added postgres/base/1/2616
Binary file not shown.
Binary file added postgres/base/1/2616_fsm
Binary file not shown.
Binary file added postgres/base/1/2616_vm
Binary file not shown.
Binary file added postgres/base/1/2617
Binary file not shown.
Binary file added postgres/base/1/2617_fsm
Binary file not shown.
Binary file added postgres/base/1/2617_vm
Binary file not shown.
Binary file added postgres/base/1/2618
Binary file not shown.
Binary file added postgres/base/1/2618_fsm
Binary file not shown.
Binary file added postgres/base/1/2618_vm
Binary file not shown.
Binary file added postgres/base/1/2619
Binary file not shown.
Binary file added postgres/base/1/2619_fsm
Binary file not shown.
Binary file added postgres/base/1/2619_vm
Binary file not shown.
Empty file added postgres/base/1/2620
Empty file.
Binary file added postgres/base/1/2650
Binary file not shown.
Binary file added postgres/base/1/2651
Binary file not shown.
Binary file added postgres/base/1/2652
Binary file not shown.
Binary file added postgres/base/1/2653
Binary file not shown.
Binary file added postgres/base/1/2654
Binary file not shown.
Binary file added postgres/base/1/2655
Binary file not shown.
Binary file added postgres/base/1/2656
Binary file not shown.
Binary file added postgres/base/1/2657
Binary file not shown.
Binary file added postgres/base/1/2658
Binary file not shown.
Binary file added postgres/base/1/2659
Binary file not shown.
Binary file added postgres/base/1/2660
Binary file not shown.
Binary file added postgres/base/1/2661
Binary file not shown.
Binary file added postgres/base/1/2662
Binary file not shown.
Binary file added postgres/base/1/2663
Binary file not shown.
Binary file added postgres/base/1/2664
Binary file not shown.
Binary file added postgres/base/1/2665
Binary file not shown.
Binary file added postgres/base/1/2666
Binary file not shown.
Binary file added postgres/base/1/2667
Binary file not shown.
Binary file added postgres/base/1/2668
Binary file not shown.
Binary file added postgres/base/1/2669
Binary file not shown.
Binary file added postgres/base/1/2670
Binary file not shown.
Binary file added postgres/base/1/2673
Binary file not shown.
Binary file added postgres/base/1/2674
Binary file not shown.
Binary file added postgres/base/1/2675
Binary file not shown.
Binary file added postgres/base/1/2678
Binary file not shown.
Binary file added postgres/base/1/2679
Binary file not shown.
Binary file added postgres/base/1/2680
Binary file not shown.
Binary file added postgres/base/1/2681
Binary file not shown.
Binary file added postgres/base/1/2682
Binary file not shown.
Binary file added postgres/base/1/2683
Binary file not shown.
Binary file added postgres/base/1/2684
Binary file not shown.
Binary file added postgres/base/1/2685
Binary file not shown.
Binary file added postgres/base/1/2686
Binary file not shown.
Binary file added postgres/base/1/2687
Binary file not shown.
Binary file added postgres/base/1/2688
Binary file not shown.
Binary file added postgres/base/1/2689
Binary file not shown.
Binary file added postgres/base/1/2690
Binary file not shown.
Binary file added postgres/base/1/2691
Binary file not shown.
Binary file added postgres/base/1/2692
Binary file not shown.
Binary file added postgres/base/1/2693
Binary file not shown.
Binary file added postgres/base/1/2696
Binary file not shown.
Binary file added postgres/base/1/2699
Binary file not shown.
Binary file added postgres/base/1/2701
Binary file not shown.
Binary file added postgres/base/1/2702
Binary file not shown.
Binary file added postgres/base/1/2703
Binary file not shown.
Binary file added postgres/base/1/2704
Binary file not shown.
Binary file added postgres/base/1/2753
Binary file not shown.
Binary file added postgres/base/1/2753_fsm
Binary file not shown.
Binary file added postgres/base/1/2753_vm
Binary file not shown.
Binary file added postgres/base/1/2754
Binary file not shown.
Binary file added postgres/base/1/2755
Binary file not shown.
Binary file added postgres/base/1/2756
Binary file not shown.
Binary file added postgres/base/1/2757
Binary file not shown.
Empty file added postgres/base/1/2830
Empty file.
Binary file added postgres/base/1/2831
Binary file not shown.
Empty file added postgres/base/1/2832
Empty file.
Binary file added postgres/base/1/2833
Binary file not shown.
Empty file added postgres/base/1/2834
Empty file.
Binary file added postgres/base/1/2835
Binary file not shown.
Binary file added postgres/base/1/2836
Binary file not shown.
Binary file added postgres/base/1/2836_fsm
Binary file not shown.
Binary file added postgres/base/1/2836_vm
Binary file not shown.
Binary file added postgres/base/1/2837
Binary file not shown.
Binary file added postgres/base/1/2838
Binary file not shown.
Binary file added postgres/base/1/2838_fsm
Binary file not shown.
Binary file added postgres/base/1/2838_vm
Binary file not shown.
Binary file added postgres/base/1/2839
Binary file not shown.
Binary file added postgres/base/1/2840
Binary file not shown.
Binary file added postgres/base/1/2840_fsm
Binary file not shown.
Binary file added postgres/base/1/2840_vm
Binary file not shown.
Binary file added postgres/base/1/2841
Binary file not shown.
Empty file added postgres/base/1/2995
Empty file.
Binary file added postgres/base/1/2996
Binary file not shown.
Binary file added postgres/base/1/3079
Binary file not shown.
Binary file added postgres/base/1/3079_fsm
Binary file not shown.
Binary file added postgres/base/1/3079_vm
Binary file not shown.
Binary file added postgres/base/1/3080
Binary file not shown.
Binary file added postgres/base/1/3081
Binary file not shown.
Binary file added postgres/base/1/3085
Binary file not shown.
Empty file added postgres/base/1/3118
Empty file.
Binary file added postgres/base/1/3119
Binary file not shown.
Binary file added postgres/base/1/3164
Binary file not shown.
Empty file added postgres/base/1/3256
Empty file.
Binary file added postgres/base/1/3257
Binary file not shown.
Binary file added postgres/base/1/3258
Binary file not shown.
Empty file added postgres/base/1/3350
Empty file.
Binary file added postgres/base/1/3351
Binary file not shown.
Binary file added postgres/base/1/3379
Binary file not shown.
Binary file added postgres/base/1/3380
Binary file not shown.
Empty file added postgres/base/1/3381
Empty file.
Binary file added postgres/base/1/3394
Binary file not shown.
Binary file added postgres/base/1/3394_fsm
Binary file not shown.
Binary file added postgres/base/1/3394_vm
Binary file not shown.
Binary file added postgres/base/1/3395
Binary file not shown.
Empty file added postgres/base/1/3429
Empty file.
Empty file added postgres/base/1/3430
Empty file.
Binary file added postgres/base/1/3431
Binary file not shown.
Binary file added postgres/base/1/3433
Binary file not shown.
Empty file added postgres/base/1/3439
Empty file.
Binary file added postgres/base/1/3440
Binary file not shown.
Binary file added postgres/base/1/3455
Binary file not shown.
Binary file added postgres/base/1/3456
Binary file not shown.
Binary file added postgres/base/1/3456_fsm
Binary file not shown.
Binary file added postgres/base/1/3456_vm
Binary file not shown.
Empty file added postgres/base/1/3466
Empty file.
Binary file added postgres/base/1/3467
Binary file not shown.
Binary file added postgres/base/1/3468
Binary file not shown.
Empty file added postgres/base/1/3501
Empty file.
Binary file added postgres/base/1/3502
Binary file not shown.
Binary file added postgres/base/1/3503
Binary file not shown.
Binary file added postgres/base/1/3534
Binary file not shown.
Binary file added postgres/base/1/3541
Binary file not shown.
Binary file added postgres/base/1/3541_fsm
Binary file not shown.
Binary file added postgres/base/1/3541_vm
Binary file not shown.
Binary file added postgres/base/1/3542
Binary file not shown.
Binary file added postgres/base/1/3574
Binary file not shown.
Binary file added postgres/base/1/3575
Binary file not shown.
Empty file added postgres/base/1/3576
Empty file.
Empty file added postgres/base/1/3596
Empty file.
Binary file added postgres/base/1/3597
Binary file not shown.
Empty file added postgres/base/1/3598
Empty file.
Binary file added postgres/base/1/3599
Binary file not shown.
Binary file added postgres/base/1/3600
Binary file not shown.
Binary file added postgres/base/1/3600_fsm
Binary file not shown.
Binary file added postgres/base/1/3600_vm
Binary file not shown.
Binary file added postgres/base/1/3601
Binary file not shown.
Binary file added postgres/base/1/3601_fsm
Binary file not shown.
Binary file added postgres/base/1/3601_vm
Binary file not shown.
Binary file added postgres/base/1/3602
Binary file not shown.
Binary file added postgres/base/1/3602_fsm
Binary file not shown.
Binary file added postgres/base/1/3602_vm
Binary file not shown.
Binary file added postgres/base/1/3603
Binary file not shown.
Binary file added postgres/base/1/3603_fsm
Binary file not shown.
Binary file added postgres/base/1/3603_vm
Binary file not shown.
Binary file added postgres/base/1/3604
Binary file not shown.
Binary file added postgres/base/1/3605
Binary file not shown.
Binary file added postgres/base/1/3606
Binary file not shown.
Binary file added postgres/base/1/3607
Binary file not shown.
Binary file added postgres/base/1/3608
Binary file not shown.
Binary file added postgres/base/1/3609
Binary file not shown.
Binary file added postgres/base/1/3712
Binary file not shown.
Binary file added postgres/base/1/3764
Binary file not shown.
Binary file added postgres/base/1/3764_fsm
Binary file not shown.
Binary file added postgres/base/1/3764_vm
Binary file not shown.
Binary file added postgres/base/1/3766
Binary file not shown.
Binary file added postgres/base/1/3767
Binary file not shown.
Binary file added postgres/base/1/3997
Binary file not shown.
Empty file added postgres/base/1/4143
Empty file.
Binary file added postgres/base/1/4144
Binary file not shown.
Empty file added postgres/base/1/4145
Empty file.
Binary file added postgres/base/1/4146
Binary file not shown.
Empty file added postgres/base/1/4147
Empty file.
Binary file added postgres/base/1/4148
Binary file not shown.
Empty file added postgres/base/1/4149
Empty file.
Binary file added postgres/base/1/4150
Binary file not shown.
Empty file added postgres/base/1/4151
Empty file.
Binary file added postgres/base/1/4152
Binary file not shown.
Empty file added postgres/base/1/4153
Empty file.
Binary file added postgres/base/1/4154
Binary file not shown.
Empty file added postgres/base/1/4155
Empty file.
Binary file added postgres/base/1/4156
Binary file not shown.
Empty file added postgres/base/1/4157
Empty file.
Binary file added postgres/base/1/4158
Binary file not shown.
Empty file added postgres/base/1/4159
Empty file.
Binary file added postgres/base/1/4160
Binary file not shown.
Empty file added postgres/base/1/4163
Empty file.
Binary file added postgres/base/1/4164
Binary file not shown.
Empty file added postgres/base/1/4165
Empty file.
Binary file added postgres/base/1/4166
Binary file not shown.
Empty file added postgres/base/1/4167
Empty file.
Binary file added postgres/base/1/4168
Binary file not shown.
Empty file added postgres/base/1/4169
Empty file.
Binary file added postgres/base/1/4170
Binary file not shown.
Empty file added postgres/base/1/4171
Empty file.
Binary file added postgres/base/1/4172
Binary file not shown.
Empty file added postgres/base/1/4173
Empty file.
Binary file added postgres/base/1/4174
Binary file not shown.
Binary file added postgres/base/1/5002
Binary file not shown.
Binary file added postgres/base/1/548
Binary file not shown.
Binary file added postgres/base/1/549
Binary file not shown.
Empty file added postgres/base/1/6102
Empty file.
Empty file added postgres/base/1/6104
Empty file.
Empty file added postgres/base/1/6106
Empty file.
Binary file added postgres/base/1/6110
Binary file not shown.
Binary file added postgres/base/1/6111
Binary file not shown.
Binary file added postgres/base/1/6112
Binary file not shown.
Binary file added postgres/base/1/6113
Binary file not shown.
Binary file added postgres/base/1/6116
Binary file not shown.
Binary file added postgres/base/1/6117
Binary file not shown.
Empty file added postgres/base/1/6175
Empty file.
Binary file added postgres/base/1/6176
Binary file not shown.
Empty file added postgres/base/1/6228
Empty file.
Binary file added postgres/base/1/6229
Binary file not shown.
Empty file added postgres/base/1/6237
Empty file.
Binary file added postgres/base/1/6238
Binary file not shown.
Binary file added postgres/base/1/6239
Binary file not shown.
Empty file added postgres/base/1/826
Empty file.
Binary file added postgres/base/1/827
Binary file not shown.
Loading

0 comments on commit 18371d3

Please sign in to comment.