version 1.0.0

This commit is contained in:
diyaa
2026-05-24 20:53:42 +02:00
commit 4b8701e55b
6577 changed files with 25019 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
services:
postgres:
image: postgres:16-alpine
restart: unless-stopped
env_file:
- ../docker/env/postgres.env.example
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"]
interval: 5s
timeout: 5s
retries: 10
api:
build:
context: ../../
dockerfile: backend/Dockerfile
restart: unless-stopped
env_file:
- ../docker/env/backend.env.example
ports:
- "3000:3000"
depends_on:
postgres:
condition: service_healthy
volumes:
- ../../runtime:/app/runtime
volumes:
postgres_data:
+7
View File
@@ -0,0 +1,7 @@
NODE_ENV=development
PORT=3000
DATABASE_URL=postgresql://velody:velody@postgres:5432/velody?schema=public
STORAGE_ROOT=/app/runtime/storage
PUBLIC_BASE_URL=http://localhost:3000
DEVICE_BOOTSTRAP_SECRET=replace-me
MAX_UPLOAD_SIZE_BYTES=524288000
+3
View File
@@ -0,0 +1,3 @@
POSTGRES_DB=velody
POSTGRES_USER=velody
POSTGRES_PASSWORD=velody
+13
View File
@@ -0,0 +1,13 @@
server {
listen 80;
server_name music.diyaa.de;
location / {
proxy_pass http://127.0.0.1:3000;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -euo pipefail
echo "Database backup script placeholder."
+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -euo pipefail
echo "Storage backup script placeholder."
+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -euo pipefail
echo "Deployment script placeholder for a future VPS rollout."