mirror of
https://github.com/biersoeckli/QuickStack.git
synced 2026-05-05 16:59:36 -05:00
fix/updated app templates
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
import { z } from "zod";
|
import { z } from "zod";
|
||||||
import { AppDomainModel, AppModel, AppPortModel, AppVolumeModel, RelatedAppDomainModel, RelatedAppPortModel, RelatedAppVolumeModel } from "./generated-zod";
|
import { AppDomainModel, AppFileMountModel, AppModel, AppPortModel, AppVolumeModel, RelatedAppDomainModel, RelatedAppPortModel, RelatedAppVolumeModel } from "./generated-zod";
|
||||||
import { appSourceTypeZodModel, appTypeZodModel } from "./app-source-info.model";
|
import { appSourceTypeZodModel, appTypeZodModel } from "./app-source-info.model";
|
||||||
import { appVolumeTypeZodModel } from "./volume-edit.model";
|
import { appVolumeTypeZodModel } from "./volume-edit.model";
|
||||||
|
|
||||||
@@ -33,6 +33,12 @@ export const appTemplateContentZodModel = z.object({
|
|||||||
createdAt: z.undefined(),
|
createdAt: z.undefined(),
|
||||||
updatedAt: z.undefined(),
|
updatedAt: z.undefined(),
|
||||||
}).array(),
|
}).array(),
|
||||||
|
appFileMounts: AppFileMountModel.extend({
|
||||||
|
id: z.undefined(),
|
||||||
|
appId: z.undefined(),
|
||||||
|
createdAt: z.undefined(),
|
||||||
|
updatedAt: z.undefined(),
|
||||||
|
}).array(),
|
||||||
appPorts: AppPortModel.extend({
|
appPorts: AppPortModel.extend({
|
||||||
id: z.undefined(),
|
id: z.undefined(),
|
||||||
appId: z.undefined(),
|
appId: z.undefined(),
|
||||||
|
|||||||
@@ -45,6 +45,7 @@ MYSQL_USER=wordpress
|
|||||||
containerMountPath: '/var/lib/mysql',
|
containerMountPath: '/var/lib/mysql',
|
||||||
accessMode: 'ReadWriteOnce'
|
accessMode: 'ReadWriteOnce'
|
||||||
}],
|
}],
|
||||||
|
appFileMounts: [],
|
||||||
appPorts: [{
|
appPorts: [{
|
||||||
port: 3306,
|
port: 3306,
|
||||||
}]
|
}]
|
||||||
@@ -79,6 +80,12 @@ WORDPRESS_TABLE_PREFIX=wp_
|
|||||||
containerMountPath: '/var/www/html',
|
containerMountPath: '/var/www/html',
|
||||||
accessMode: 'ReadWriteMany'
|
accessMode: 'ReadWriteMany'
|
||||||
}],
|
}],
|
||||||
|
appFileMounts: [{
|
||||||
|
containerMountPath: '/usr/local/etc/php/conf.d/custom.ini',
|
||||||
|
content: `upload_max_filesize = 100M
|
||||||
|
post_max_size = 100M
|
||||||
|
`
|
||||||
|
}],
|
||||||
appPorts: [{
|
appPorts: [{
|
||||||
port: 80,
|
port: 80,
|
||||||
}]
|
}]
|
||||||
|
|||||||
@@ -55,6 +55,7 @@ export const mariadbAppTemplate: AppTemplateModel = {
|
|||||||
containerMountPath: '/var/lib/mysql',
|
containerMountPath: '/var/lib/mysql',
|
||||||
accessMode: 'ReadWriteOnce'
|
accessMode: 'ReadWriteOnce'
|
||||||
}],
|
}],
|
||||||
|
appFileMounts: [],
|
||||||
appPorts: [{
|
appPorts: [{
|
||||||
port: 3306,
|
port: 3306,
|
||||||
}]
|
}]
|
||||||
|
|||||||
@@ -48,6 +48,7 @@ export const mongodbAppTemplate: AppTemplateModel = {
|
|||||||
containerMountPath: '/data/db',
|
containerMountPath: '/data/db',
|
||||||
accessMode: 'ReadWriteOnce'
|
accessMode: 'ReadWriteOnce'
|
||||||
}],
|
}],
|
||||||
|
appFileMounts: [],
|
||||||
appPorts: [{
|
appPorts: [{
|
||||||
port: 27017,
|
port: 27017,
|
||||||
}]
|
}]
|
||||||
|
|||||||
@@ -55,6 +55,7 @@ export const mysqlAppTemplate: AppTemplateModel = {
|
|||||||
containerMountPath: '/var/lib/mysql',
|
containerMountPath: '/var/lib/mysql',
|
||||||
accessMode: 'ReadWriteOnce'
|
accessMode: 'ReadWriteOnce'
|
||||||
}],
|
}],
|
||||||
|
appFileMounts: [],
|
||||||
appPorts: [{
|
appPorts: [{
|
||||||
port: 3306,
|
port: 3306,
|
||||||
}]
|
}]
|
||||||
|
|||||||
@@ -48,6 +48,7 @@ export const postgreAppTemplate: AppTemplateModel = {
|
|||||||
containerMountPath: '/var/lib/postgresql',
|
containerMountPath: '/var/lib/postgresql',
|
||||||
accessMode: 'ReadWriteOnce'
|
accessMode: 'ReadWriteOnce'
|
||||||
}],
|
}],
|
||||||
|
appFileMounts: [],
|
||||||
appPorts: [{
|
appPorts: [{
|
||||||
port: 5432,
|
port: 5432,
|
||||||
}]
|
}]
|
||||||
|
|||||||
Reference in New Issue
Block a user