Skip to content

Load config, validate missing env vars, fix .env.example - #1513

Merged
BigBen-7 merged 1 commit into
PinSpace-Org:mainfrom
Tarrii:tarrii/issues-1393-1396
Oct 15, 2026
Merged

BigBen-7 merged 1 commit into
PinSpace-Org:mainfrom
Tarrii:tarrii/issues-1393-1396

Conversation

@Tarrii

@Tarrii Tarrii commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

Closes #1393
Closes #1394
Closes #1395
Closes #1396

  • app.module.ts: ConfigModule.forRoot now has load: [configuration], so ipfs.gateway honours IPFS_GATEWAY (it is the only nested key the code reads)
  • env.validation.ts: added IPFS_RETRY_ATTEMPTS, SOROBAN_RETRY_ATTEMPTS, STATS_CACHE_TTL_MS (typed, bounded, defaulted) and MODERATOR_ADDRESS (validated as a Stellar public key, optional and unset by default so the existing ?? fallback still applies)
  • .env.example: normalised to KEY=value, DB defaults now match docker-compose (gistpin/gistpin/gistpin), and documented CORS_ORIGINS, DB_POOL_*, SHUTDOWN_TIMEOUT_MS, THROTTLE_* plus the four new variables with defaults

Tests and build were not run.

@drips-wave

drips-wave Bot commented Oct 15, 2026

Copy link
Copy Markdown

@Tarrii Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@BigBen-7
BigBen-7 merged commit 8973472 into PinSpace-Org:main Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants