Skip to content

Commit

Permalink
chore: use private database url in all apps 🔒 (#627)
Browse files Browse the repository at this point in the history
  • Loading branch information
ramiAbdou authored Nov 15, 2024
1 parent 193bf7d commit f15a6cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/api/railway.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://railway.app/railway.schema.json",
"build": {
"builder": "NIXPACKS",
"buildCommand": "yarn db:migrate && yarn build --filter=api",
"buildCommand": "DATABASE_URL=$DATABASE_PUBLIC_URL yarn db:migrate && yarn build --filter=api",
"nixpacksConfigPath": "/apps/api/railway.json",
"watchPatterns": [
"/apps/api/**/*",
Expand Down
2 changes: 1 addition & 1 deletion apps/member-profile/railway.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://railway.app/railway.schema.json",
"build": {
"builder": "NIXPACKS",
"buildCommand": "yarn db:migrate && yarn build --filter=member-profile",
"buildCommand": "DATABASE_URL=$DATABASE_PUBLIC_URL yarn db:migrate && yarn build --filter=member-profile",
"nixpacksConfigPath": "/apps/member-profile/railway.json",
"watchPatterns": [
"/apps/member-profile/**/*",
Expand Down

0 comments on commit f15a6cc

Please sign in to comment.