Implement backend API and database services in Docker setup

- Added a new `api` service for the NestJS backend, including health checks and dependencies on PostgreSQL, Redis, and MinIO.
- Introduced PostgreSQL and Redis services with health checks and configurations for data persistence.
- Added MinIO for S3-compatible object storage and a one-shot service to initialize required buckets.
- Updated the Nginx configuration to proxy requests to the new backend API and MinIO storage.
- Enhanced the Dockerfile to support the new API environment variables and configurations.
- Updated the `package.json` and `package-lock.json` to include new dependencies for QR code generation and other utilities.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Dorian
2026-02-12 20:14:39 +00:00
parent f19fd6feef
commit cdd24a5def
478 changed files with 55355 additions and 529 deletions

View File

@@ -5,6 +5,8 @@
"type": "module",
"scripts": {
"dev": "vite --port 5174",
"dev:full": "bash scripts/dev.sh",
"dev:full:no-docker": "bash scripts/dev.sh --no-docker",
"start": "bash scripts/start.sh",
"build": "vue-tsc -b && vite build",
"preview": "vite preview",
@@ -24,12 +26,14 @@
"axios": "^1.13.5",
"nostr-tools": "^2.23.0",
"pinia": "^3.0.4",
"qrcode": "^1.5.4",
"vue": "^3.5.24",
"vue-router": "^4.6.3",
"ws": "^8.19.0"
},
"devDependencies": {
"@types/node": "^24.10.0",
"@types/qrcode": "^1.5.6",
"@types/ws": "^8.18.1",
"@vitejs/plugin-vue": "^6.0.1",
"@vue/tsconfig": "^0.8.1",