fixingtheMESSIjustmade
This commit is contained in:
parent
9379a33afb
commit
8252e8664d
1
defguardDocker/deployment
Submodule
1
defguardDocker/deployment
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit aa830b0412a0335d75942c68081dd852c6537803
|
||||
71
reasume/.env
Normal file
71
reasume/.env
Normal file
@ -0,0 +1,71 @@
|
||||
# Environment
|
||||
NODE_ENV=development
|
||||
|
||||
# Ports
|
||||
PORT=3000
|
||||
|
||||
# URLs
|
||||
# These URLs must reference a publicly accessible domain or IP address, not a docker container ID (depending on your compose setup)
|
||||
PUBLIC_URL=http://localhost:3000
|
||||
PUBLIC_SERVER_URL=http://localhost:3000/
|
||||
STORAGE_URL=http://localhost:9000/default # default is the bucket name specified in the STORAGE_BUCKET variable
|
||||
|
||||
# Database (Prisma/PostgreSQL)
|
||||
# This can be swapped out to use any other database, like MySQL
|
||||
# Note: This is used only in the compose.yml file
|
||||
POSTGRES_PORT=5437
|
||||
POSTGRES_DB=postgres
|
||||
POSTGRES_USER=Zakaria
|
||||
POSTGRES_PASSWORD=thamed-original
|
||||
|
||||
# Database (Prisma/PostgreSQL)
|
||||
DATABASE_URL=postgresql://postgres:postgres@localhost:5437/postgres?schema=public
|
||||
|
||||
# Authentication Secrets
|
||||
# generated with `openssl rand -base64 64`
|
||||
ACCESS_TOKEN_SECRET=2431754516ca6dfc7d512446237d429b40dc7f4a73208cbfb2d22c4cb6afbb98b49ebb2791e4a7c8955cdadc985568a281cdfe673d5e223568803039412fa725
|
||||
REFRESH_TOKEN_SECRET=c4fc4c102c3590e7017dbbd82e511d5bf3b48748bfb66ed31d1bf3ea3a675731c4fc4c102c3590e7017dbbd82e511d5bf3b48748bfb66ed31d1bf3ea3a675731
|
||||
|
||||
# Chrome Browser (for printing)
|
||||
# generated with `openssl rand -hex 32`
|
||||
CHROME_PORT=8180
|
||||
CHROME_TOKEN=c4fc4c102c3590e7017dbbd82e511d5bf3b48748bfb66ed31d1bf3ea3a675731
|
||||
CHROME_URL=wss://localhost:8180
|
||||
# Launch puppeteer with flag to ignore https errors
|
||||
CHROME_IGNORE_HTTPS_ERRORS=true
|
||||
|
||||
# Mail Server (for e-mails)
|
||||
# For testing, you can use https://ethereal.email/create
|
||||
MAIL_FROM=noreply@localhost
|
||||
# SMTP_URL=smtp://username:password@smtp.ethereal.email:587
|
||||
|
||||
# Storage
|
||||
STORAGE_ENDPOINT=localhost
|
||||
STORAGE_PORT=9050
|
||||
STORAGE_REGION=us-east-1
|
||||
STORAGE_BUCKET=default
|
||||
STORAGE_ACCESS_KEY=minioadmin
|
||||
STORAGE_SECRET_KEY=minioadmin
|
||||
STORAGE_USE_SSL=false
|
||||
STORAGE_SKIP_BUCKET_CHECK=false
|
||||
|
||||
# Nx Cloud (Optional)
|
||||
# NX_CLOUD_ACCESS_TOKEN=
|
||||
|
||||
# Crowdin (Optional)
|
||||
# CROWDIN_PROJECT_ID=
|
||||
# CROWDIN_PERSONAL_TOKEN=
|
||||
|
||||
# Feature Flags (Optional)
|
||||
# DISABLE_SIGNUPS=false
|
||||
# DISABLE_EMAIL_AUTH=false
|
||||
|
||||
# GitHub (OAuth, Optional)
|
||||
# GITHUB_CLIENT_ID=
|
||||
# GITHUB_CLIENT_SECRET=
|
||||
# GITHUB_CALLBACK_URL=http://localhost:5173/api/auth/github/callback
|
||||
|
||||
# Google (OAuth, Optional)
|
||||
# GOOGLE_CLIENT_ID=
|
||||
# GOOGLE_CLIENT_SECRET=
|
||||
# GOOGLE_CALLBACK_URL=http://localhost:5173/api/auth/google/callback
|
||||
107
reasume/docker-compose.yml
Normal file
107
reasume/docker-compose.yml
Normal file
@ -0,0 +1,107 @@
|
||||
# In this Docker Compose example, it assumes that you maintain a reverse proxy externally (or chose not to).
|
||||
# The only two exposed ports here are from minio (:9000) and the app itself (:3000).
|
||||
# If these ports are changed, ensure that the env vars passed to the app are also changed accordingly.
|
||||
|
||||
services:
|
||||
# Database (Postgres)
|
||||
postgres:
|
||||
image: postgres:16.4-alpine3.20
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./postgres_data:/var/lib/postgresql/data
|
||||
environment:
|
||||
POSTGRES_DB: dataBase
|
||||
POSTGRES_USER: Zakaria
|
||||
POSTGRES_PASSWORD: thamed-cream-love
|
||||
|
||||
# Storage (for image uploads)
|
||||
minio:
|
||||
image: minio/minio
|
||||
restart: unless-stopped
|
||||
command: server /data
|
||||
ports:
|
||||
- "9000:9000"
|
||||
volumes:
|
||||
- minio_data:/data
|
||||
environment:
|
||||
MINIO_ROOT_USER: minioadmin
|
||||
MINIO_ROOT_PASSWORD: minioadmin
|
||||
|
||||
# Chrome Browser (for printing and previews)
|
||||
chrome:
|
||||
image: lscr.io/linuxserver/chromium:latest
|
||||
restart: unless-stopped
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
environment:
|
||||
TIMEOUT: 50000
|
||||
CONCURRENT: 10
|
||||
TOKEN: chrome_token
|
||||
EXIT_ON_HEALTH_FAILURE: true
|
||||
PRE_REQUEST_HEALTH_CHECK: true
|
||||
|
||||
app:
|
||||
image: amruthpillai/reactive-resume:latest
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "3000:3000"
|
||||
depends_on:
|
||||
- postgres
|
||||
- minio
|
||||
- chrome
|
||||
environment:
|
||||
# -- Environment Variables --
|
||||
PORT: 3000
|
||||
NODE_ENV: production
|
||||
|
||||
# -- Database (Postgres) --
|
||||
DATABASE_URL: postgresql://Zakaria:thamed-cream-love@postgres:5432/dataBase?schema=public
|
||||
|
||||
# -- URLs --
|
||||
PUBLIC_URL: http://localhost:3000
|
||||
STORAGE_URL: http://localhost:9000/default
|
||||
|
||||
# -- Printer (Chrome) --
|
||||
CHROME_TOKEN: chrome_token
|
||||
CHROME_URL: ws://chrome:3000
|
||||
|
||||
# -- Auth --
|
||||
ACCESS_TOKEN_SECRET: 34dd5592342c3cb6f53e8f27cf805b1ff974a05e4bbae47b35cc79bcea268f3529e572635f36a305
|
||||
REFRESH_TOKEN_SECRET: 34dd5592342c3cb6f53e8f27cf805b1ff974a05e4bbae47b35cc79bcea268f3529e572635f36a305
|
||||
|
||||
# -- Emails --
|
||||
MAIL_FROM: noreply@localhost
|
||||
# SMTP_URL: smtp://user:pass@smtp:587 # Optional
|
||||
|
||||
# -- Storage (Minio) --
|
||||
STORAGE_ENDPOINT: minio
|
||||
STORAGE_PORT: 9000
|
||||
STORAGE_REGION: us-east-1 # Optional
|
||||
STORAGE_BUCKET: default
|
||||
STORAGE_ACCESS_KEY: minioadmin
|
||||
STORAGE_SECRET_KEY: minioadmin
|
||||
STORAGE_USE_SSL: false
|
||||
STORAGE_SKIP_BUCKET_CHECK: false
|
||||
|
||||
# -- Crowdin (Optional) --
|
||||
# CROWDIN_PROJECT_ID:
|
||||
# CROWDIN_PERSONAL_TOKEN:
|
||||
|
||||
# -- Email (Optional) --
|
||||
# DISABLE_SIGNUPS: false
|
||||
# DISABLE_EMAIL_AUTH: false
|
||||
|
||||
# -- GitHub (Optional) --
|
||||
# GITHUB_CLIENT_ID: github_client_id
|
||||
# GITHUB_CLIENT_SECRET: github_client_secret
|
||||
# GITHUB_CALLBACK_URL: http://localhost:3000/api/auth/github/callback
|
||||
|
||||
# -- Google (Optional) --
|
||||
# GOOGLE_CLIENT_ID: google_client_id
|
||||
# GOOGLE_CLIENT_SECRET: google_client_secret
|
||||
# GOOGLE_CALLBACK_URL: http://localhost:3000/api/auth/google/callback
|
||||
|
||||
volumes:
|
||||
minio_data:
|
||||
postgres_data:
|
||||
|
||||
1
reasume/postgres_data/PG_VERSION
Normal file
1
reasume/postgres_data/PG_VERSION
Normal file
@ -0,0 +1 @@
|
||||
16
|
||||
BIN
reasume/postgres_data/base/1/112
Normal file
BIN
reasume/postgres_data/base/1/112
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/113
Normal file
BIN
reasume/postgres_data/base/1/113
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/1247
Normal file
BIN
reasume/postgres_data/base/1/1247
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/1247_fsm
Normal file
BIN
reasume/postgres_data/base/1/1247_fsm
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/1247_vm
Normal file
BIN
reasume/postgres_data/base/1/1247_vm
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/1249
Normal file
BIN
reasume/postgres_data/base/1/1249
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/1249_fsm
Normal file
BIN
reasume/postgres_data/base/1/1249_fsm
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/1249_vm
Normal file
BIN
reasume/postgres_data/base/1/1249_vm
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/1255
Normal file
BIN
reasume/postgres_data/base/1/1255
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/1255_fsm
Normal file
BIN
reasume/postgres_data/base/1/1255_fsm
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/1255_vm
Normal file
BIN
reasume/postgres_data/base/1/1255_vm
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/1259
Normal file
BIN
reasume/postgres_data/base/1/1259
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/1259_fsm
Normal file
BIN
reasume/postgres_data/base/1/1259_fsm
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/1259_vm
Normal file
BIN
reasume/postgres_data/base/1/1259_vm
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/13439
Normal file
BIN
reasume/postgres_data/base/1/13439
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/13439_fsm
Normal file
BIN
reasume/postgres_data/base/1/13439_fsm
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/13439_vm
Normal file
BIN
reasume/postgres_data/base/1/13439_vm
Normal file
Binary file not shown.
0
reasume/postgres_data/base/1/13442
Normal file
0
reasume/postgres_data/base/1/13442
Normal file
BIN
reasume/postgres_data/base/1/13443
Normal file
BIN
reasume/postgres_data/base/1/13443
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/13444
Normal file
BIN
reasume/postgres_data/base/1/13444
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/13444_fsm
Normal file
BIN
reasume/postgres_data/base/1/13444_fsm
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/13444_vm
Normal file
BIN
reasume/postgres_data/base/1/13444_vm
Normal file
Binary file not shown.
0
reasume/postgres_data/base/1/13447
Normal file
0
reasume/postgres_data/base/1/13447
Normal file
BIN
reasume/postgres_data/base/1/13448
Normal file
BIN
reasume/postgres_data/base/1/13448
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/13449
Normal file
BIN
reasume/postgres_data/base/1/13449
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/13449_fsm
Normal file
BIN
reasume/postgres_data/base/1/13449_fsm
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/13449_vm
Normal file
BIN
reasume/postgres_data/base/1/13449_vm
Normal file
Binary file not shown.
0
reasume/postgres_data/base/1/13452
Normal file
0
reasume/postgres_data/base/1/13452
Normal file
BIN
reasume/postgres_data/base/1/13453
Normal file
BIN
reasume/postgres_data/base/1/13453
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/13454
Normal file
BIN
reasume/postgres_data/base/1/13454
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/13454_fsm
Normal file
BIN
reasume/postgres_data/base/1/13454_fsm
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/13454_vm
Normal file
BIN
reasume/postgres_data/base/1/13454_vm
Normal file
Binary file not shown.
0
reasume/postgres_data/base/1/13457
Normal file
0
reasume/postgres_data/base/1/13457
Normal file
BIN
reasume/postgres_data/base/1/13458
Normal file
BIN
reasume/postgres_data/base/1/13458
Normal file
Binary file not shown.
0
reasume/postgres_data/base/1/1417
Normal file
0
reasume/postgres_data/base/1/1417
Normal file
0
reasume/postgres_data/base/1/1418
Normal file
0
reasume/postgres_data/base/1/1418
Normal file
BIN
reasume/postgres_data/base/1/174
Normal file
BIN
reasume/postgres_data/base/1/174
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/175
Normal file
BIN
reasume/postgres_data/base/1/175
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2187
Normal file
BIN
reasume/postgres_data/base/1/2187
Normal file
Binary file not shown.
0
reasume/postgres_data/base/1/2224
Normal file
0
reasume/postgres_data/base/1/2224
Normal file
BIN
reasume/postgres_data/base/1/2228
Normal file
BIN
reasume/postgres_data/base/1/2228
Normal file
Binary file not shown.
0
reasume/postgres_data/base/1/2328
Normal file
0
reasume/postgres_data/base/1/2328
Normal file
0
reasume/postgres_data/base/1/2336
Normal file
0
reasume/postgres_data/base/1/2336
Normal file
BIN
reasume/postgres_data/base/1/2337
Normal file
BIN
reasume/postgres_data/base/1/2337
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2579
Normal file
BIN
reasume/postgres_data/base/1/2579
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2600
Normal file
BIN
reasume/postgres_data/base/1/2600
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2600_fsm
Normal file
BIN
reasume/postgres_data/base/1/2600_fsm
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2600_vm
Normal file
BIN
reasume/postgres_data/base/1/2600_vm
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2601
Normal file
BIN
reasume/postgres_data/base/1/2601
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2601_fsm
Normal file
BIN
reasume/postgres_data/base/1/2601_fsm
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2601_vm
Normal file
BIN
reasume/postgres_data/base/1/2601_vm
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2602
Normal file
BIN
reasume/postgres_data/base/1/2602
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2602_fsm
Normal file
BIN
reasume/postgres_data/base/1/2602_fsm
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2602_vm
Normal file
BIN
reasume/postgres_data/base/1/2602_vm
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2603
Normal file
BIN
reasume/postgres_data/base/1/2603
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2603_fsm
Normal file
BIN
reasume/postgres_data/base/1/2603_fsm
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2603_vm
Normal file
BIN
reasume/postgres_data/base/1/2603_vm
Normal file
Binary file not shown.
0
reasume/postgres_data/base/1/2604
Normal file
0
reasume/postgres_data/base/1/2604
Normal file
BIN
reasume/postgres_data/base/1/2605
Normal file
BIN
reasume/postgres_data/base/1/2605
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2605_fsm
Normal file
BIN
reasume/postgres_data/base/1/2605_fsm
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2605_vm
Normal file
BIN
reasume/postgres_data/base/1/2605_vm
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2606
Normal file
BIN
reasume/postgres_data/base/1/2606
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2606_fsm
Normal file
BIN
reasume/postgres_data/base/1/2606_fsm
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2606_vm
Normal file
BIN
reasume/postgres_data/base/1/2606_vm
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2607
Normal file
BIN
reasume/postgres_data/base/1/2607
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2607_fsm
Normal file
BIN
reasume/postgres_data/base/1/2607_fsm
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2607_vm
Normal file
BIN
reasume/postgres_data/base/1/2607_vm
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2608
Normal file
BIN
reasume/postgres_data/base/1/2608
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2608_fsm
Normal file
BIN
reasume/postgres_data/base/1/2608_fsm
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2608_vm
Normal file
BIN
reasume/postgres_data/base/1/2608_vm
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2609
Normal file
BIN
reasume/postgres_data/base/1/2609
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2609_fsm
Normal file
BIN
reasume/postgres_data/base/1/2609_fsm
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2609_vm
Normal file
BIN
reasume/postgres_data/base/1/2609_vm
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2610
Normal file
BIN
reasume/postgres_data/base/1/2610
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2610_fsm
Normal file
BIN
reasume/postgres_data/base/1/2610_fsm
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2610_vm
Normal file
BIN
reasume/postgres_data/base/1/2610_vm
Normal file
Binary file not shown.
0
reasume/postgres_data/base/1/2611
Normal file
0
reasume/postgres_data/base/1/2611
Normal file
BIN
reasume/postgres_data/base/1/2612
Normal file
BIN
reasume/postgres_data/base/1/2612
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2612_fsm
Normal file
BIN
reasume/postgres_data/base/1/2612_fsm
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2612_vm
Normal file
BIN
reasume/postgres_data/base/1/2612_vm
Normal file
Binary file not shown.
0
reasume/postgres_data/base/1/2613
Normal file
0
reasume/postgres_data/base/1/2613
Normal file
BIN
reasume/postgres_data/base/1/2615
Normal file
BIN
reasume/postgres_data/base/1/2615
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2615_fsm
Normal file
BIN
reasume/postgres_data/base/1/2615_fsm
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2615_vm
Normal file
BIN
reasume/postgres_data/base/1/2615_vm
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2616
Normal file
BIN
reasume/postgres_data/base/1/2616
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2616_fsm
Normal file
BIN
reasume/postgres_data/base/1/2616_fsm
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2616_vm
Normal file
BIN
reasume/postgres_data/base/1/2616_vm
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2617
Normal file
BIN
reasume/postgres_data/base/1/2617
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2617_fsm
Normal file
BIN
reasume/postgres_data/base/1/2617_fsm
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2617_vm
Normal file
BIN
reasume/postgres_data/base/1/2617_vm
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2618
Normal file
BIN
reasume/postgres_data/base/1/2618
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2618_fsm
Normal file
BIN
reasume/postgres_data/base/1/2618_fsm
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2618_vm
Normal file
BIN
reasume/postgres_data/base/1/2618_vm
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2619
Normal file
BIN
reasume/postgres_data/base/1/2619
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2619_fsm
Normal file
BIN
reasume/postgres_data/base/1/2619_fsm
Normal file
Binary file not shown.
BIN
reasume/postgres_data/base/1/2619_vm
Normal file
BIN
reasume/postgres_data/base/1/2619_vm
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user