mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-20 04:01:24 +02:00
chore: remove remaining Hetzner references across codebase
Deleted: - DOCKER_REGISTRY_SETUP.md, QUICK_START_CICD.md (legacy CI/CD docs) - docs/ULOAD-DEPLOYMENT.md (Hetzner VPS deployment guide) - scripts/get-ssh-key.sh, scripts/remove-coolify-references.sh (legacy scripts) Updated Hetzner → MinIO references in: - shared-storage (package.json, README, client.ts, types.ts) - App CLAUDE.md files (mukke, storage, planta, picture) - .claude/GUIDELINES.md, sveltekit-web.md guideline - TROUBLESHOOTING.md, SETUP_TEMPLATES.md (replaced IPs with placeholders) - GIT_WORKFLOW.md, COMMANDS.md - services/matrix-project-doc-bot/CLAUDE.md Remaining Hetzner mentions are in historical devlogs/audits and docs that list Hetzner as a hosting alternative (not as active infrastructure). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
cc5ba3bb90
commit
7c1e2aca49
20 changed files with 53 additions and 1163 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# @manacore/shared-storage
|
||||
|
||||
S3-compatible object storage client for the Manacore monorepo. Uses MinIO for local development and Hetzner Object Storage in production.
|
||||
S3-compatible object storage client for the Manacore monorepo. Uses MinIO for S3-compatible storage.
|
||||
|
||||
## Setup
|
||||
|
||||
|
|
@ -208,7 +208,7 @@ This creates the following Prometheus metrics:
|
|||
|
||||
```env
|
||||
# Required
|
||||
S3_ENDPOINT=http://localhost:9000 # MinIO local / Hetzner production
|
||||
S3_ENDPOINT=http://localhost:9000 # MinIO
|
||||
S3_REGION=us-east-1
|
||||
S3_ACCESS_KEY=minioadmin
|
||||
S3_SECRET_KEY=minioadmin
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"name": "@manacore/shared-storage",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"description": "S3-compatible object storage client for Manacore monorepo (MinIO local, Hetzner production)",
|
||||
"description": "S3-compatible object storage client for Manacore monorepo (MinIO)",
|
||||
"main": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
|
|
|
|||
|
|
@ -46,9 +46,7 @@ function constrainStream(stream: ReadableStream, maxBytes: number): ReadableStre
|
|||
bytesRead += value.byteLength;
|
||||
if (bytesRead > maxBytes) {
|
||||
controller.error(
|
||||
new Error(
|
||||
`Stream size ${bytesRead} bytes exceeds maximum allowed ${maxBytes} bytes`
|
||||
)
|
||||
new Error(`Stream size ${bytesRead} bytes exceeds maximum allowed ${maxBytes} bytes`)
|
||||
);
|
||||
reader.cancel();
|
||||
return;
|
||||
|
|
@ -62,7 +60,7 @@ function constrainStream(stream: ReadableStream, maxBytes: number): ReadableStre
|
|||
}
|
||||
|
||||
/**
|
||||
* S3-compatible storage client for MinIO (local) and Hetzner Object Storage (production)
|
||||
* S3-compatible storage client for MinIO
|
||||
*/
|
||||
export class StorageClient {
|
||||
private client: S3Client;
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
export interface StorageConfig {
|
||||
/** S3 endpoint URL (e.g., http://localhost:9000 for MinIO) */
|
||||
endpoint: string;
|
||||
/** S3 region (e.g., 'us-east-1' or 'fsn1' for Hetzner) */
|
||||
/** S3 region (e.g., 'us-east-1') */
|
||||
region: string;
|
||||
/** Access key ID */
|
||||
accessKeyId: string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue