Type fixes & Docker

This commit is contained in:
headlessdev
2025-04-13 21:10:17 +02:00
parent dcce66a449
commit eadaf75b74
76 changed files with 21644 additions and 264 deletions

View File

@@ -178,11 +178,12 @@ const config = {
"db"
],
"activeProvider": "postgresql",
"postinstall": false,
"inlineDatasources": {
"db": {
"url": {
"fromEnvVar": "DATABASE_URL",
"value": "postgresql://neondb_owner:npg_YQTAU0fB4eIr@ep-plain-bar-a2mke00k-pooler.eu-central-1.aws.neon.tech/neondb?sslmode=require&schema=public"
"value": null
}
}
},

View File

@@ -179,11 +179,12 @@ const config = {
"db"
],
"activeProvider": "postgresql",
"postinstall": false,
"inlineDatasources": {
"db": {
"url": {
"fromEnvVar": "DATABASE_URL",
"value": "postgresql://neondb_owner:npg_YQTAU0fB4eIr@ep-plain-bar-a2mke00k-pooler.eu-central-1.aws.neon.tech/neondb?sslmode=require&schema=public"
"value": null
}
}
},

View File

@@ -15,10 +15,30 @@ datasource db {
}
model application {
id Int @id @default(autoincrement())
id Int @id @default(autoincrement())
serverId Int @default(1)
name String
description String?
icon String
publicURL String
localURL String?
createdAt DateTime @default(now())
online Boolean @default(true)
}
model server {
id Int @id @default(autoincrement())
name String
os String?
ip String?
url String?
cpu String?
gpu String?
ram String?
disk String?
}
model settings {
id Int @id @default(autoincrement())
uptime_checks Boolean @default(true)
}