2022-02-10 14:47:44 +00:00
|
|
|
generator client {
|
2022-04-18 21:49:08 +00:00
|
|
|
provider = "prisma-client-js"
|
2022-09-02 13:35:24 +00:00
|
|
|
binaryTargets = ["native"]
|
2022-02-10 14:47:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
datasource db {
|
|
|
|
provider = "sqlite"
|
|
|
|
url = env("COOLIFY_DATABASE_URL")
|
|
|
|
}
|
|
|
|
|
2022-09-21 13:48:32 +00:00
|
|
|
model Certificate {
|
|
|
|
id String @id @default(cuid())
|
|
|
|
key String
|
|
|
|
cert String
|
2022-09-22 07:02:39 +00:00
|
|
|
team Team? @relation(fields: [teamId], references: [id])
|
2022-09-21 13:48:32 +00:00
|
|
|
createdAt DateTime @default(now())
|
|
|
|
updatedAt DateTime @updatedAt
|
2022-09-22 07:02:39 +00:00
|
|
|
teamId String?
|
2022-09-21 13:48:32 +00:00
|
|
|
}
|
|
|
|
|
2022-02-10 14:47:44 +00:00
|
|
|
model Setting {
|
2022-11-14 09:40:28 +00:00
|
|
|
id String @id @default(cuid())
|
|
|
|
fqdn String? @unique
|
|
|
|
dualCerts Boolean @default(false)
|
|
|
|
minPort Int @default(9000)
|
|
|
|
maxPort Int @default(9100)
|
2022-11-29 08:19:10 +00:00
|
|
|
DNSServers String @default("1.1.1.1,8.8.8.8")
|
2022-11-14 09:40:28 +00:00
|
|
|
ipv4 String?
|
|
|
|
ipv6 String?
|
|
|
|
arch String?
|
|
|
|
concurrentBuilds Int @default(1)
|
|
|
|
applicationStoragePathMigrationFinished Boolean @default(false)
|
2022-11-29 10:47:20 +00:00
|
|
|
numberOfDockerImagesKeptLocally Int @default(3)
|
2022-11-23 12:25:35 +00:00
|
|
|
proxyDefaultRedirect String?
|
2022-11-28 10:48:38 +00:00
|
|
|
doNotTrack Boolean @default(false)
|
2022-11-28 11:02:10 +00:00
|
|
|
sentryDSN String?
|
2022-11-29 12:29:11 +00:00
|
|
|
previewSeparator String @default(".")
|
2022-11-28 10:48:38 +00:00
|
|
|
isAPIDebuggingEnabled Boolean @default(false)
|
2022-11-29 08:19:10 +00:00
|
|
|
isRegistrationEnabled Boolean @default(true)
|
2022-11-23 12:25:35 +00:00
|
|
|
isAutoUpdateEnabled Boolean @default(false)
|
|
|
|
isDNSCheckEnabled Boolean @default(true)
|
|
|
|
isTraefikUsed Boolean @default(true)
|
|
|
|
createdAt DateTime @default(now())
|
|
|
|
updatedAt DateTime @updatedAt
|
2022-02-10 14:47:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
model User {
|
|
|
|
id String @id @unique @default(cuid())
|
|
|
|
email String @unique
|
|
|
|
type String
|
|
|
|
password String?
|
|
|
|
createdAt DateTime @default(now())
|
|
|
|
updatedAt DateTime @updatedAt
|
2022-07-26 12:59:06 +00:00
|
|
|
permission Permission[]
|
|
|
|
teams Team[]
|
2022-02-10 14:47:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
model Permission {
|
|
|
|
id String @id @default(cuid())
|
|
|
|
userId String
|
|
|
|
teamId String
|
|
|
|
permission String
|
|
|
|
createdAt DateTime @default(now())
|
|
|
|
updatedAt DateTime @updatedAt
|
2022-07-26 12:59:06 +00:00
|
|
|
team Team @relation(fields: [teamId], references: [id])
|
|
|
|
user User @relation(fields: [userId], references: [id])
|
2022-02-10 14:47:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
model Team {
|
|
|
|
id String @id @default(cuid())
|
|
|
|
name String?
|
|
|
|
createdAt DateTime @default(now())
|
|
|
|
updatedAt DateTime @updatedAt
|
|
|
|
databaseId String?
|
|
|
|
serviceId String?
|
2022-07-26 12:59:06 +00:00
|
|
|
permissions Permission[]
|
|
|
|
sshKey SshKey[]
|
|
|
|
applications Application[]
|
|
|
|
database Database[]
|
|
|
|
destinationDocker DestinationDocker[]
|
|
|
|
gitSources GitSource[]
|
|
|
|
gitHubApps GithubApp[]
|
|
|
|
gitLabApps GitlabApp[]
|
|
|
|
service Service[]
|
|
|
|
users User[]
|
2022-09-21 13:48:32 +00:00
|
|
|
certificate Certificate[]
|
2022-11-23 13:39:30 +00:00
|
|
|
dockerRegistry DockerRegistry[]
|
2022-02-10 14:47:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
model TeamInvitation {
|
|
|
|
id String @id @default(cuid())
|
|
|
|
uid String
|
|
|
|
email String
|
|
|
|
teamId String
|
|
|
|
teamName String
|
|
|
|
permission String
|
|
|
|
createdAt DateTime @default(now())
|
|
|
|
}
|
|
|
|
|
|
|
|
model Application {
|
2022-10-05 13:34:52 +00:00
|
|
|
id String @id @default(cuid())
|
|
|
|
name String
|
|
|
|
fqdn String?
|
|
|
|
repository String?
|
|
|
|
configHash String?
|
|
|
|
branch String?
|
|
|
|
buildPack String?
|
|
|
|
projectId Int?
|
|
|
|
port Int?
|
|
|
|
exposePort Int?
|
|
|
|
installCommand String?
|
|
|
|
buildCommand String?
|
|
|
|
startCommand String?
|
|
|
|
baseDirectory String?
|
|
|
|
publishDirectory String?
|
|
|
|
deploymentType String?
|
|
|
|
phpModules String?
|
|
|
|
pythonWSGI String?
|
|
|
|
pythonModule String?
|
|
|
|
pythonVariable String?
|
|
|
|
dockerFileLocation String?
|
|
|
|
denoMainFile String?
|
|
|
|
denoOptions String?
|
|
|
|
dockerComposeFile String?
|
|
|
|
dockerComposeFileLocation String?
|
|
|
|
dockerComposeConfiguration String?
|
|
|
|
createdAt DateTime @default(now())
|
|
|
|
updatedAt DateTime @updatedAt
|
|
|
|
destinationDockerId String?
|
|
|
|
gitSourceId String?
|
2022-10-25 16:26:03 +00:00
|
|
|
gitCommitHash String?
|
2022-10-05 13:34:52 +00:00
|
|
|
baseImage String?
|
|
|
|
baseBuildImage String?
|
|
|
|
gitSource GitSource? @relation(fields: [gitSourceId], references: [id])
|
|
|
|
destinationDocker DestinationDocker? @relation(fields: [destinationDockerId], references: [id])
|
|
|
|
persistentStorage ApplicationPersistentStorage[]
|
|
|
|
settings ApplicationSettings?
|
|
|
|
secrets Secret[]
|
|
|
|
teams Team[]
|
|
|
|
connectedDatabase ApplicationConnectedDatabase?
|
|
|
|
previewApplication PreviewApplication[]
|
2022-11-30 14:22:07 +00:00
|
|
|
dockerRegistryId String?
|
|
|
|
dockerRegistry DockerRegistry? @relation(fields: [dockerRegistryId], references: [id])
|
2022-09-13 07:57:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
model PreviewApplication {
|
2022-09-13 13:50:20 +00:00
|
|
|
id String @id @default(cuid())
|
|
|
|
pullmergeRequestId String
|
|
|
|
sourceBranch String
|
|
|
|
isRandomDomain Boolean @default(false)
|
|
|
|
customDomain String?
|
2022-10-02 08:43:45 +00:00
|
|
|
applicationId String
|
2022-09-13 13:50:20 +00:00
|
|
|
application Application @relation(fields: [applicationId], references: [id])
|
|
|
|
createdAt DateTime @default(now())
|
|
|
|
updatedAt DateTime @updatedAt
|
2022-09-05 13:41:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
model ApplicationConnectedDatabase {
|
|
|
|
id String @id @default(cuid())
|
|
|
|
applicationId String @unique
|
|
|
|
databaseId String?
|
|
|
|
hostedDatabaseType String?
|
|
|
|
hostedDatabaseHost String?
|
|
|
|
hostedDatabasePort Int?
|
|
|
|
hostedDatabaseName String?
|
|
|
|
hostedDatabaseUser String?
|
|
|
|
hostedDatabasePassword String?
|
|
|
|
hostedDatabaseDBName String?
|
|
|
|
createdAt DateTime @default(now())
|
|
|
|
updatedAt DateTime @updatedAt
|
|
|
|
database Database? @relation(fields: [databaseId], references: [id])
|
|
|
|
application Application @relation(fields: [applicationId], references: [id])
|
2022-02-10 14:47:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
model ApplicationSettings {
|
2022-08-18 09:53:42 +00:00
|
|
|
id String @id @default(cuid())
|
|
|
|
applicationId String @unique
|
|
|
|
dualCerts Boolean @default(false)
|
|
|
|
debug Boolean @default(false)
|
|
|
|
previews Boolean @default(false)
|
|
|
|
autodeploy Boolean @default(true)
|
|
|
|
isBot Boolean @default(false)
|
|
|
|
isPublicRepository Boolean @default(false)
|
2022-09-05 07:09:49 +00:00
|
|
|
isDBBranching Boolean @default(false)
|
2022-09-23 13:21:19 +00:00
|
|
|
isCustomSSL Boolean @default(false)
|
2022-08-18 09:53:42 +00:00
|
|
|
createdAt DateTime @default(now())
|
|
|
|
updatedAt DateTime @updatedAt
|
|
|
|
application Application @relation(fields: [applicationId], references: [id])
|
2022-02-10 14:47:44 +00:00
|
|
|
}
|
|
|
|
|
2022-03-20 22:51:50 +00:00
|
|
|
model ApplicationPersistentStorage {
|
|
|
|
id String @id @default(cuid())
|
2022-04-18 21:49:08 +00:00
|
|
|
applicationId String
|
|
|
|
path String
|
2022-11-14 09:40:28 +00:00
|
|
|
oldPath Boolean @default(false)
|
2022-03-20 22:51:50 +00:00
|
|
|
createdAt DateTime @default(now())
|
|
|
|
updatedAt DateTime @updatedAt
|
2022-07-26 12:59:06 +00:00
|
|
|
application Application @relation(fields: [applicationId], references: [id])
|
2022-03-20 22:51:50 +00:00
|
|
|
|
|
|
|
@@unique([applicationId, path])
|
|
|
|
}
|
|
|
|
|
2022-04-18 21:49:08 +00:00
|
|
|
model ServicePersistentStorage {
|
2022-10-18 09:32:38 +00:00
|
|
|
id String @id @default(cuid())
|
|
|
|
serviceId String
|
|
|
|
path String
|
|
|
|
volumeName String?
|
|
|
|
predefined Boolean @default(false)
|
|
|
|
containerId String?
|
|
|
|
createdAt DateTime @default(now())
|
|
|
|
updatedAt DateTime @updatedAt
|
|
|
|
service Service @relation(fields: [serviceId], references: [id])
|
2022-04-18 21:49:08 +00:00
|
|
|
|
2022-10-26 12:12:27 +00:00
|
|
|
@@unique([serviceId, containerId, path])
|
2022-04-18 21:49:08 +00:00
|
|
|
}
|
|
|
|
|
2022-02-10 14:47:44 +00:00
|
|
|
model Secret {
|
|
|
|
id String @id @default(cuid())
|
2022-02-17 21:14:06 +00:00
|
|
|
name String
|
2022-02-10 14:47:44 +00:00
|
|
|
value String
|
2022-02-19 13:54:47 +00:00
|
|
|
isPRMRSecret Boolean @default(false)
|
2022-02-10 14:47:44 +00:00
|
|
|
isBuildSecret Boolean @default(false)
|
|
|
|
createdAt DateTime @default(now())
|
|
|
|
updatedAt DateTime @updatedAt
|
|
|
|
applicationId String
|
2022-07-26 12:59:06 +00:00
|
|
|
application Application @relation(fields: [applicationId], references: [id])
|
2022-02-12 14:23:58 +00:00
|
|
|
|
2022-02-19 13:54:47 +00:00
|
|
|
@@unique([name, applicationId, isPRMRSecret])
|
2022-02-10 14:47:44 +00:00
|
|
|
}
|
|
|
|
|
2022-03-04 14:14:25 +00:00
|
|
|
model ServiceSecret {
|
|
|
|
id String @id @default(cuid())
|
|
|
|
name String
|
|
|
|
value String
|
|
|
|
createdAt DateTime @default(now())
|
|
|
|
updatedAt DateTime @updatedAt
|
|
|
|
serviceId String
|
2022-07-26 12:59:06 +00:00
|
|
|
service Service @relation(fields: [serviceId], references: [id])
|
2022-03-04 14:14:25 +00:00
|
|
|
|
|
|
|
@@unique([name, serviceId])
|
|
|
|
}
|
|
|
|
|
2022-02-10 14:47:44 +00:00
|
|
|
model BuildLog {
|
|
|
|
id String @id @default(cuid())
|
|
|
|
applicationId String?
|
|
|
|
buildId String
|
|
|
|
line String
|
2022-09-05 13:41:32 +00:00
|
|
|
time BigInt
|
2022-02-10 14:47:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
model Build {
|
2022-09-13 13:50:20 +00:00
|
|
|
id String @id @default(cuid())
|
|
|
|
type String
|
|
|
|
applicationId String?
|
|
|
|
destinationDockerId String?
|
|
|
|
gitSourceId String?
|
|
|
|
githubAppId String?
|
|
|
|
gitlabAppId String?
|
|
|
|
commit String?
|
|
|
|
pullmergeRequestId String?
|
|
|
|
previewApplicationId String?
|
|
|
|
forceRebuild Boolean @default(false)
|
|
|
|
sourceBranch String?
|
2022-10-02 09:16:51 +00:00
|
|
|
sourceRepository String?
|
2022-09-13 13:50:20 +00:00
|
|
|
branch String?
|
|
|
|
status String? @default("queued")
|
|
|
|
createdAt DateTime @default(now())
|
|
|
|
updatedAt DateTime @updatedAt
|
2022-02-10 14:47:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
model DestinationDocker {
|
|
|
|
id String @id @default(cuid())
|
|
|
|
network String @unique
|
|
|
|
name String
|
2022-07-18 14:02:53 +00:00
|
|
|
engine String?
|
2022-02-10 14:47:44 +00:00
|
|
|
remoteEngine Boolean @default(false)
|
2022-07-18 14:02:53 +00:00
|
|
|
remoteIpAddress String?
|
|
|
|
remoteUser String?
|
|
|
|
remotePort Int?
|
|
|
|
remoteVerified Boolean @default(false)
|
2022-02-10 14:47:44 +00:00
|
|
|
isCoolifyProxyUsed Boolean? @default(false)
|
|
|
|
createdAt DateTime @default(now())
|
|
|
|
updatedAt DateTime @updatedAt
|
2022-07-26 12:59:06 +00:00
|
|
|
sshKeyId String?
|
|
|
|
sshKey SshKey? @relation(fields: [sshKeyId], references: [id])
|
2022-08-06 10:23:51 +00:00
|
|
|
sshLocalPort Int?
|
2022-07-26 12:59:06 +00:00
|
|
|
application Application[]
|
2022-02-10 14:47:44 +00:00
|
|
|
database Database[]
|
|
|
|
service Service[]
|
2022-07-26 12:59:06 +00:00
|
|
|
teams Team[]
|
2022-07-18 14:02:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
model SshKey {
|
2022-07-21 12:43:53 +00:00
|
|
|
id String @id @default(cuid())
|
|
|
|
name String
|
|
|
|
privateKey String
|
|
|
|
createdAt DateTime @default(now())
|
|
|
|
updatedAt DateTime @updatedAt
|
2022-07-26 12:26:45 +00:00
|
|
|
teamId String?
|
2022-07-26 12:59:06 +00:00
|
|
|
team Team? @relation(fields: [teamId], references: [id])
|
|
|
|
destinationDocker DestinationDocker[]
|
2022-02-10 14:47:44 +00:00
|
|
|
}
|
|
|
|
|
2022-11-23 13:39:30 +00:00
|
|
|
model DockerRegistry {
|
2022-11-30 14:22:07 +00:00
|
|
|
id String @id @default(cuid())
|
|
|
|
name String
|
|
|
|
url String
|
|
|
|
username String?
|
|
|
|
password String?
|
|
|
|
createdAt DateTime @default(now())
|
|
|
|
updatedAt DateTime @updatedAt
|
|
|
|
teamId String?
|
|
|
|
team Team? @relation(fields: [teamId], references: [id])
|
|
|
|
application Application[]
|
2022-11-23 13:39:30 +00:00
|
|
|
}
|
|
|
|
|
2022-02-10 14:47:44 +00:00
|
|
|
model GitSource {
|
|
|
|
id String @id @default(cuid())
|
|
|
|
name String
|
2022-08-18 09:53:42 +00:00
|
|
|
forPublic Boolean @default(false)
|
2022-02-10 14:47:44 +00:00
|
|
|
type String?
|
|
|
|
apiUrl String?
|
|
|
|
htmlUrl String?
|
2022-07-12 09:01:48 +00:00
|
|
|
customPort Int @default(22)
|
2022-02-10 14:47:44 +00:00
|
|
|
organization String?
|
|
|
|
createdAt DateTime @default(now())
|
|
|
|
updatedAt DateTime @updatedAt
|
|
|
|
githubAppId String? @unique
|
|
|
|
gitlabAppId String? @unique
|
2022-09-28 08:34:27 +00:00
|
|
|
isSystemWide Boolean @default(false)
|
2022-02-10 14:47:44 +00:00
|
|
|
gitlabApp GitlabApp? @relation(fields: [gitlabAppId], references: [id])
|
2022-07-26 12:59:06 +00:00
|
|
|
githubApp GithubApp? @relation(fields: [githubAppId], references: [id])
|
|
|
|
application Application[]
|
|
|
|
teams Team[]
|
2022-02-10 14:47:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
model GithubApp {
|
|
|
|
id String @id @default(cuid())
|
|
|
|
name String? @unique
|
|
|
|
appId Int?
|
|
|
|
installationId Int?
|
|
|
|
clientId String?
|
|
|
|
clientSecret String?
|
|
|
|
webhookSecret String?
|
|
|
|
privateKey String?
|
|
|
|
createdAt DateTime @default(now())
|
|
|
|
updatedAt DateTime @updatedAt
|
|
|
|
gitSource GitSource?
|
2022-07-26 12:59:06 +00:00
|
|
|
teams Team[]
|
2022-02-10 14:47:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
model GitlabApp {
|
|
|
|
id String @id @default(cuid())
|
|
|
|
oauthId Int @unique
|
|
|
|
groupName String? @unique
|
|
|
|
deployKeyId Int?
|
|
|
|
privateSshKey String?
|
|
|
|
publicSshKey String?
|
|
|
|
webhookToken String?
|
|
|
|
appId String?
|
|
|
|
appSecret String?
|
|
|
|
createdAt DateTime @default(now())
|
|
|
|
updatedAt DateTime @updatedAt
|
|
|
|
gitSource GitSource?
|
2022-07-26 12:59:06 +00:00
|
|
|
teams Team[]
|
2022-02-10 14:47:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
model Database {
|
2022-09-05 13:41:32 +00:00
|
|
|
id String @id @default(cuid())
|
|
|
|
name String
|
|
|
|
publicPort Int?
|
|
|
|
defaultDatabase String?
|
|
|
|
type String?
|
|
|
|
version String?
|
|
|
|
dbUser String?
|
|
|
|
dbUserPassword String?
|
|
|
|
rootUser String?
|
|
|
|
rootUserPassword String?
|
|
|
|
destinationDockerId String?
|
|
|
|
createdAt DateTime @default(now())
|
|
|
|
updatedAt DateTime @updatedAt
|
|
|
|
destinationDocker DestinationDocker? @relation(fields: [destinationDockerId], references: [id])
|
|
|
|
settings DatabaseSettings?
|
|
|
|
teams Team[]
|
|
|
|
applicationConnectedDatabase ApplicationConnectedDatabase[]
|
2022-09-07 09:40:52 +00:00
|
|
|
databaseSecret DatabaseSecret[]
|
|
|
|
}
|
|
|
|
|
|
|
|
model DatabaseSecret {
|
|
|
|
id String @id @default(cuid())
|
|
|
|
name String
|
|
|
|
value String
|
|
|
|
createdAt DateTime @default(now())
|
|
|
|
updatedAt DateTime @updatedAt
|
|
|
|
databaseId String
|
|
|
|
database Database @relation(fields: [databaseId], references: [id])
|
|
|
|
|
|
|
|
@@unique([name, databaseId])
|
2022-02-10 14:47:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
model DatabaseSettings {
|
|
|
|
id String @id @default(cuid())
|
|
|
|
databaseId String @unique
|
|
|
|
isPublic Boolean @default(false)
|
|
|
|
appendOnly Boolean @default(true)
|
|
|
|
createdAt DateTime @default(now())
|
|
|
|
updatedAt DateTime @updatedAt
|
2022-07-26 12:59:06 +00:00
|
|
|
database Database @relation(fields: [databaseId], references: [id])
|
2022-02-10 14:47:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
model Service {
|
2022-04-18 21:49:08 +00:00
|
|
|
id String @id @default(cuid())
|
2022-02-10 14:47:44 +00:00
|
|
|
name String
|
|
|
|
fqdn String?
|
2022-04-30 12:47:00 +00:00
|
|
|
exposePort Int?
|
2022-04-18 21:49:08 +00:00
|
|
|
dualCerts Boolean @default(false)
|
2022-02-10 14:47:44 +00:00
|
|
|
type String?
|
|
|
|
version String?
|
2022-10-21 19:19:30 +00:00
|
|
|
templateVersion String @default("0.0.0")
|
2022-02-10 14:47:44 +00:00
|
|
|
destinationDockerId String?
|
2022-04-18 21:49:08 +00:00
|
|
|
createdAt DateTime @default(now())
|
|
|
|
updatedAt DateTime @updatedAt
|
2022-07-26 12:59:06 +00:00
|
|
|
destinationDocker DestinationDocker? @relation(fields: [destinationDockerId], references: [id])
|
2022-04-18 21:49:08 +00:00
|
|
|
persistentStorage ServicePersistentStorage[]
|
2022-07-26 12:59:06 +00:00
|
|
|
serviceSecret ServiceSecret[]
|
2022-10-17 13:43:57 +00:00
|
|
|
serviceSetting ServiceSetting[]
|
2022-08-23 08:11:38 +00:00
|
|
|
teams Team[]
|
2022-08-15 14:58:10 +00:00
|
|
|
|
2022-08-23 08:11:38 +00:00
|
|
|
fider Fider?
|
|
|
|
ghost Ghost?
|
|
|
|
glitchTip GlitchTip?
|
|
|
|
hasura Hasura?
|
|
|
|
meiliSearch MeiliSearch?
|
|
|
|
minio Minio?
|
|
|
|
moodle Moodle?
|
|
|
|
plausibleAnalytics PlausibleAnalytics?
|
|
|
|
umami Umami?
|
|
|
|
vscodeserver Vscodeserver?
|
|
|
|
wordpress Wordpress?
|
|
|
|
appwrite Appwrite?
|
|
|
|
searxng Searxng?
|
2022-08-31 13:02:05 +00:00
|
|
|
weblate Weblate?
|
2022-09-02 12:11:36 +00:00
|
|
|
taiga Taiga?
|
2022-02-10 14:47:44 +00:00
|
|
|
}
|
|
|
|
|
2022-10-17 13:43:57 +00:00
|
|
|
model ServiceSetting {
|
2022-10-21 13:51:32 +00:00
|
|
|
id String @id @default(cuid())
|
|
|
|
serviceId String
|
|
|
|
name String
|
|
|
|
value String
|
|
|
|
variableName String
|
|
|
|
createdAt DateTime @default(now())
|
|
|
|
updatedAt DateTime @updatedAt
|
|
|
|
service Service @relation(fields: [serviceId], references: [id])
|
2022-10-17 13:43:57 +00:00
|
|
|
|
|
|
|
@@unique([serviceId, name])
|
|
|
|
}
|
|
|
|
|
2022-02-10 14:47:44 +00:00
|
|
|
model PlausibleAnalytics {
|
|
|
|
id String @id @default(cuid())
|
|
|
|
email String?
|
|
|
|
username String?
|
|
|
|
password String
|
|
|
|
postgresqlUser String
|
|
|
|
postgresqlPassword String
|
|
|
|
postgresqlDatabase String
|
|
|
|
postgresqlPublicPort Int?
|
|
|
|
secretKeyBase String?
|
2022-05-09 13:05:24 +00:00
|
|
|
scriptName String @default("plausible.js")
|
2022-02-10 14:47:44 +00:00
|
|
|
serviceId String @unique
|
|
|
|
createdAt DateTime @default(now())
|
|
|
|
updatedAt DateTime @updatedAt
|
2022-07-26 12:59:06 +00:00
|
|
|
service Service @relation(fields: [serviceId], references: [id])
|
2022-02-10 14:47:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
model Minio {
|
|
|
|
id String @id @default(cuid())
|
|
|
|
rootUser String
|
|
|
|
rootUserPassword String
|
|
|
|
publicPort Int?
|
2022-05-19 11:45:17 +00:00
|
|
|
apiFqdn String?
|
2022-02-10 14:47:44 +00:00
|
|
|
serviceId String @unique
|
|
|
|
createdAt DateTime @default(now())
|
|
|
|
updatedAt DateTime @updatedAt
|
2022-07-26 12:59:06 +00:00
|
|
|
service Service @relation(fields: [serviceId], references: [id])
|
2022-02-10 14:47:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
model Vscodeserver {
|
|
|
|
id String @id @default(cuid())
|
|
|
|
password String
|
|
|
|
serviceId String @unique
|
|
|
|
createdAt DateTime @default(now())
|
|
|
|
updatedAt DateTime @updatedAt
|
2022-07-26 12:59:06 +00:00
|
|
|
service Service @relation(fields: [serviceId], references: [id])
|
2022-02-10 14:47:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
model Wordpress {
|
|
|
|
id String @id @default(cuid())
|
|
|
|
extraConfig String?
|
|
|
|
tablePrefix String?
|
2022-05-10 08:12:13 +00:00
|
|
|
ownMysql Boolean @default(false)
|
|
|
|
mysqlHost String?
|
|
|
|
mysqlPort Int?
|
2022-10-28 09:54:03 +00:00
|
|
|
mysqlUser String?
|
|
|
|
mysqlPassword String?
|
|
|
|
mysqlRootUser String?
|
|
|
|
mysqlRootUserPassword String?
|
2022-02-10 14:47:44 +00:00
|
|
|
mysqlDatabase String?
|
|
|
|
mysqlPublicPort Int?
|
2022-04-05 13:56:25 +00:00
|
|
|
ftpEnabled Boolean @default(false)
|
|
|
|
ftpUser String?
|
|
|
|
ftpPassword String?
|
|
|
|
ftpPublicPort Int?
|
2022-04-06 19:37:42 +00:00
|
|
|
ftpHostKey String?
|
2022-04-05 13:56:25 +00:00
|
|
|
ftpHostKeyPrivate String?
|
2022-02-10 14:47:44 +00:00
|
|
|
serviceId String @unique
|
|
|
|
createdAt DateTime @default(now())
|
|
|
|
updatedAt DateTime @updatedAt
|
2022-07-26 12:59:06 +00:00
|
|
|
service Service @relation(fields: [serviceId], references: [id])
|
2022-02-10 14:47:44 +00:00
|
|
|
}
|
2022-03-27 20:03:21 +00:00
|
|
|
|
|
|
|
model Ghost {
|
|
|
|
id String @id @default(cuid())
|
|
|
|
defaultEmail String
|
|
|
|
defaultPassword String
|
|
|
|
mariadbUser String
|
|
|
|
mariadbPassword String
|
|
|
|
mariadbRootUser String
|
|
|
|
mariadbRootUserPassword String
|
|
|
|
mariadbDatabase String?
|
|
|
|
mariadbPublicPort Int?
|
|
|
|
serviceId String @unique
|
|
|
|
createdAt DateTime @default(now())
|
|
|
|
updatedAt DateTime @updatedAt
|
2022-07-26 12:59:06 +00:00
|
|
|
service Service @relation(fields: [serviceId], references: [id])
|
2022-03-27 20:03:21 +00:00
|
|
|
}
|
2022-04-02 21:08:27 +00:00
|
|
|
|
|
|
|
model MeiliSearch {
|
|
|
|
id String @id @default(cuid())
|
|
|
|
masterKey String
|
|
|
|
serviceId String @unique
|
|
|
|
createdAt DateTime @default(now())
|
|
|
|
updatedAt DateTime @updatedAt
|
2022-07-26 12:59:06 +00:00
|
|
|
service Service @relation(fields: [serviceId], references: [id])
|
2022-04-02 21:08:27 +00:00
|
|
|
}
|
2022-04-24 22:00:06 +00:00
|
|
|
|
|
|
|
model Umami {
|
|
|
|
id String @id @default(cuid())
|
|
|
|
serviceId String @unique
|
|
|
|
postgresqlUser String
|
|
|
|
postgresqlPassword String
|
|
|
|
postgresqlDatabase String
|
|
|
|
postgresqlPublicPort Int?
|
|
|
|
umamiAdminPassword String
|
|
|
|
hashSalt String
|
|
|
|
createdAt DateTime @default(now())
|
|
|
|
updatedAt DateTime @updatedAt
|
2022-07-26 12:59:06 +00:00
|
|
|
service Service @relation(fields: [serviceId], references: [id])
|
2022-04-24 22:00:06 +00:00
|
|
|
}
|
2022-04-27 13:37:50 +00:00
|
|
|
|
|
|
|
model Hasura {
|
|
|
|
id String @id @default(cuid())
|
|
|
|
serviceId String @unique
|
|
|
|
postgresqlUser String
|
|
|
|
postgresqlPassword String
|
|
|
|
postgresqlDatabase String
|
|
|
|
postgresqlPublicPort Int?
|
|
|
|
graphQLAdminPassword String
|
|
|
|
createdAt DateTime @default(now())
|
|
|
|
updatedAt DateTime @updatedAt
|
2022-07-26 12:59:06 +00:00
|
|
|
service Service @relation(fields: [serviceId], references: [id])
|
2022-04-27 13:37:50 +00:00
|
|
|
}
|
2022-04-29 20:25:27 +00:00
|
|
|
|
|
|
|
model Fider {
|
|
|
|
id String @id @default(cuid())
|
|
|
|
serviceId String @unique
|
|
|
|
postgresqlUser String
|
|
|
|
postgresqlPassword String
|
|
|
|
postgresqlDatabase String
|
|
|
|
postgresqlPublicPort Int?
|
|
|
|
jwtSecret String
|
|
|
|
emailNoreply String?
|
|
|
|
emailMailgunApiKey String?
|
|
|
|
emailMailgunDomain String?
|
2022-04-29 21:41:31 +00:00
|
|
|
emailMailgunRegion String @default("EU")
|
2022-04-29 20:25:27 +00:00
|
|
|
emailSmtpHost String?
|
|
|
|
emailSmtpPort Int?
|
|
|
|
emailSmtpUser String?
|
|
|
|
emailSmtpPassword String?
|
|
|
|
emailSmtpEnableStartTls Boolean @default(false)
|
|
|
|
createdAt DateTime @default(now())
|
|
|
|
updatedAt DateTime @updatedAt
|
2022-07-26 12:59:06 +00:00
|
|
|
service Service @relation(fields: [serviceId], references: [id])
|
2022-04-29 20:25:27 +00:00
|
|
|
}
|
2022-07-15 12:31:54 +00:00
|
|
|
|
|
|
|
model Moodle {
|
|
|
|
id String @id @default(cuid())
|
|
|
|
serviceId String @unique
|
|
|
|
defaultUsername String
|
|
|
|
defaultPassword String
|
|
|
|
defaultEmail String
|
|
|
|
mariadbUser String
|
|
|
|
mariadbPassword String
|
|
|
|
mariadbRootUser String
|
|
|
|
mariadbRootUserPassword String
|
|
|
|
mariadbDatabase String
|
|
|
|
mariadbPublicPort Int?
|
|
|
|
createdAt DateTime @default(now())
|
|
|
|
updatedAt DateTime @updatedAt
|
2022-07-26 12:59:06 +00:00
|
|
|
service Service @relation(fields: [serviceId], references: [id])
|
2022-07-15 12:31:54 +00:00
|
|
|
}
|
2022-08-15 09:56:34 +00:00
|
|
|
|
2022-08-15 14:58:10 +00:00
|
|
|
model Appwrite {
|
|
|
|
id String @id @default(cuid())
|
|
|
|
serviceId String @unique
|
|
|
|
opensslKeyV1 String
|
|
|
|
executorSecret String
|
|
|
|
redisPassword String
|
|
|
|
mariadbHost String?
|
|
|
|
mariadbPort Int @default(3306)
|
|
|
|
mariadbUser String
|
|
|
|
mariadbPassword String
|
|
|
|
mariadbRootUser String
|
|
|
|
mariadbRootUserPassword String
|
|
|
|
mariadbDatabase String
|
|
|
|
mariadbPublicPort Int?
|
|
|
|
createdAt DateTime @default(now())
|
|
|
|
updatedAt DateTime @updatedAt
|
|
|
|
service Service @relation(fields: [serviceId], references: [id])
|
|
|
|
}
|
2022-08-15 19:30:53 +00:00
|
|
|
|
2022-08-15 09:56:34 +00:00
|
|
|
model GlitchTip {
|
|
|
|
id String @id @default(cuid())
|
|
|
|
postgresqlUser String
|
|
|
|
postgresqlPassword String
|
|
|
|
postgresqlDatabase String
|
|
|
|
postgresqlPublicPort Int?
|
|
|
|
secretKeyBase String?
|
|
|
|
defaultEmail String
|
|
|
|
defaultUsername String
|
|
|
|
defaultPassword String
|
|
|
|
defaultEmailFrom String @default("glitchtip@domain.tdl")
|
|
|
|
emailSmtpHost String? @default("domain.tdl")
|
|
|
|
emailSmtpPort Int? @default(25)
|
|
|
|
emailSmtpUser String?
|
|
|
|
emailSmtpPassword String?
|
2022-11-28 10:48:38 +00:00
|
|
|
emailSmtpUseTls Boolean @default(false)
|
|
|
|
emailSmtpUseSsl Boolean @default(false)
|
2022-08-15 09:56:34 +00:00
|
|
|
emailBackend String?
|
|
|
|
mailgunApiKey String?
|
|
|
|
sendgridApiKey String?
|
|
|
|
enableOpenUserRegistration Boolean @default(true)
|
|
|
|
serviceId String @unique
|
|
|
|
createdAt DateTime @default(now())
|
|
|
|
updatedAt DateTime @updatedAt
|
|
|
|
service Service @relation(fields: [serviceId], references: [id])
|
|
|
|
}
|
2022-08-23 08:11:38 +00:00
|
|
|
|
|
|
|
model Searxng {
|
|
|
|
id String @id @default(cuid())
|
|
|
|
secretKey String
|
|
|
|
redisPassword String
|
|
|
|
serviceId String @unique
|
|
|
|
createdAt DateTime @default(now())
|
|
|
|
updatedAt DateTime @updatedAt
|
|
|
|
service Service @relation(fields: [serviceId], references: [id])
|
|
|
|
}
|
2022-08-31 13:02:05 +00:00
|
|
|
|
|
|
|
model Weblate {
|
|
|
|
id String @id @default(cuid())
|
|
|
|
adminPassword String
|
|
|
|
postgresqlHost String
|
|
|
|
postgresqlPort Int
|
|
|
|
postgresqlUser String
|
|
|
|
postgresqlPassword String
|
|
|
|
postgresqlDatabase String
|
|
|
|
postgresqlPublicPort Int?
|
|
|
|
serviceId String @unique
|
|
|
|
createdAt DateTime @default(now())
|
|
|
|
updatedAt DateTime @updatedAt
|
|
|
|
service Service @relation(fields: [serviceId], references: [id])
|
|
|
|
}
|
2022-09-02 12:11:36 +00:00
|
|
|
|
|
|
|
model Taiga {
|
|
|
|
id String @id @default(cuid())
|
|
|
|
secretKey String
|
|
|
|
erlangSecret String
|
|
|
|
djangoAdminPassword String
|
|
|
|
djangoAdminUser String
|
|
|
|
rabbitMQUser String
|
|
|
|
rabbitMQPassword String
|
|
|
|
postgresqlHost String
|
|
|
|
postgresqlPort Int
|
|
|
|
postgresqlUser String
|
|
|
|
postgresqlPassword String
|
|
|
|
postgresqlDatabase String
|
|
|
|
postgresqlPublicPort Int?
|
|
|
|
serviceId String @unique
|
|
|
|
createdAt DateTime @default(now())
|
|
|
|
updatedAt DateTime @updatedAt
|
|
|
|
service Service @relation(fields: [serviceId], references: [id])
|
|
|
|
}
|