Skip to content

Commit 61d16fc

Browse files
feat(dev): add S3/MinIO env vars to dev script
Add CDN_ENDPOINT, S3_ENDPOINT, and AWS credentials to sharedEnv so storage-confirm-upload and other S3-dependent functions work in local dev mode (make dev-fn). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 8efca86 commit 61d16fc

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

scripts/dev.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,14 @@ const sharedEnv: Record<string, string> = {
6363
LOCAL_APP_PORT: '3000',
6464
SEND_VERIFICATION_LINK_DRY_RUN: 'true',
6565
SEND_EMAIL_DRY_RUN: 'true',
66+
// S3/MinIO (matches docker-compose minio on port 9000)
67+
CDN_ENDPOINT: 'http://localhost:9000',
68+
S3_ENDPOINT: 'http://localhost:9000',
69+
AWS_REGION: 'us-east-1',
70+
AWS_ACCESS_KEY: 'minioadmin',
71+
AWS_SECRET_KEY: 'minioadmin',
72+
AWS_ACCESS_KEY_ID: 'minioadmin',
73+
AWS_SECRET_ACCESS_KEY: 'minioadmin',
6674
};
6775

6876
// --- Process definitions (built from manifest) ---

0 commit comments

Comments
 (0)