feat: deploy infrastructure + disk/drive, calendar, presentation, workspaces, onboarding, demo user

This commit is contained in:
2026-05-19 16:26:26 +03:00
parent 688d043dad
commit 3529c39b22
304 changed files with 18826 additions and 1176 deletions
+28
View File
@@ -0,0 +1,28 @@
#!/bin/bash
set -e
TOKEN="2608ab5b7a8965190ab4d8503a8197a47b75b42c"
GITEA_URL="http://localhost:3000"
echo "Creating repository 'voidea' in Gitea..."
RESPONSE=$(curl -s -X POST "$GITEA_URL/api/v1/user/repos" \
-H "Content-Type: application/json" \
-H "Authorization: token $TOKEN" \
-d '{
"name": "voidea",
"description": "VoIdeaAI - voice-first AI idea assistant",
"private": false,
"auto_init": false,
"default_branch": "master"
}')
echo "Response: $RESPONSE"
if echo "$RESPONSE" | grep -q '"id"'; then
echo "Repository created successfully!"
echo "Clone URL: http://localhost:3000/angel/voidea.git"
echo "Web URL: http://git.voideaai.ru/angel/voidea"
else
echo "Failed to create repository."
fi
+40
View File
@@ -0,0 +1,40 @@
services:
db:
image: postgres:16-alpine
network_mode: host
environment:
POSTGRES_DB: gitea
POSTGRES_USER: gitea
POSTGRES_PASSWORD: ${GITEA_DB_PASS:-gitea_pass}
command: -p 5433
volumes:
- gitea-db:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U gitea -h localhost -p 5433"]
interval: 5s
timeout: 5s
retries: 5
gitea:
image: gitea/gitea:latest-rootless
network_mode: host
environment:
GITEA__database__DB_TYPE: postgres
GITEA__database__HOST: localhost:5433
GITEA__database__NAME: gitea
GITEA__database__USER: gitea
GITEA__database__PASSWD: ${GITEA_DB_PASS:-gitea_pass}
GITEA__server__DOMAIN: git.voideaai.ru
GITEA__server__HTTP_PORT: 3000
GITEA__server__ROOT_URL: http://git.voideaai.ru:3000
GITEA__server__SSH_DOMAIN: git.voideaai.ru
GITEA__server__SSH_PORT: 22
volumes:
- gitea-data:/var/lib/gitea
depends_on:
db:
condition: service_healthy
volumes:
gitea-db:
gitea-data:
+33
View File
@@ -0,0 +1,33 @@
server {
listen 80;
server_name git.voideaai.ru;
client_max_body_size 512M;
location / {
proxy_pass http://localhost:3000;
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;
}
}
server {
listen 443 ssl;
http2 on;
server_name git.voideaai.ru;
ssl_certificate /etc/nginx/certs/live/git.voideaai.ru/fullchain.pem;
ssl_certificate_key /etc/nginx/certs/live/git.voideaai.ru/privkey.pem;
client_max_body_size 512M;
location / {
proxy_pass http://localhost:3000;
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;
}
}