Skip to content

Commit 9dbf1d3

Browse files
committed
fix: attempt fix zerops #3
1 parent 6794adf commit 9dbf1d3

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

apps/medusa-be/CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ npx medusa db:generate MODULE # gen migration
1616

1717
## Production Build
1818

19-
`scripts/build-medusa.sh` (monorepo root) - used by Docker and Zerops, not local dev.
19+
`scripts/build-medusa.sh` (monorepo root) - used by Docker and Zerops (zerops uses project-level envs, don't add to build:envVariables if name of project-level env is the same!!!), not local dev.
2020

2121
**Build-time secrets:** Medusa validates `JWT_SECRET`/`COOKIE_SECRET` at build but uses them only at runtime. Script provides placeholders; real secrets via runtime env vars.
2222

zerops.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ zerops:
44
envVariables:
55
BACKEND_URL: ${MEDUSA_INSTANCE_URL}
66
NX_DAEMON: false
7-
# Feature flags - evaluated at build time for conditional modules
8-
FEATURE_PPL_ENABLED: ${FEATURE_PPL_ENABLED}
9-
# JWT_SECRET and COOKIE_SECRET use placeholders via build-medusa.sh script
107
base: nodejs@22
118
buildCommands:
129
- bash ./scripts/build-medusa.sh
@@ -47,9 +44,6 @@ zerops:
4744
MEILISEARCH_API_KEY: ${search_masterKey}
4845
SENTRY_DSN: ${MEDUSA_SENTRY_DSN}
4946
SENTRY_NAME: ${MEDUSA_SENTRY_NAME}
50-
FEATURE_PPL_ENABLED: ${FEATURE_PPL_ENABLED}
51-
PPL_ENVIRONMENT: ${PPL_ENVIRONMENT}
52-
SETTINGS_ENCRYPTION_KEY: ${SETTINGS_ENCRYPTION_KEY}
5347
initCommands:
5448
# with each deploy
5549
- zsc execOnce ${appVersionId}_migration -- npm run migrate

0 commit comments

Comments
 (0)