Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/app/project/[projectId]/project-overview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs";
import AppTable from "./apps-table";
import ProjectNetworkGraph from "./project-network-graph";
import { App } from "@prisma/client";
import { UserSession } from "@/shared/model/sim-session.model";
import { useRouter, useSearchParams } from "next/navigation";
import { Table, Network } from "lucide-react";
Expand Down
2 changes: 1 addition & 1 deletion src/app/settings/cluster/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const setNodeStatus = async (nodeName: string, schedulable: boolean) =>
});

export const applyTraefikIpPropagation = async (enableIpPreservation: boolean) =>
simpleAction<TraefikIpPropagationStatus, TraefikIpPropagationStatus>(async () => {
simpleAction(async () => {
await getAdminUserSession();
const updatedStatus = await traefikService.applyExternalTrafficPolicy(enableIpPreservation);
return new SuccessActionResult<TraefikIpPropagationStatus>(
Expand Down
6 changes: 4 additions & 2 deletions src/shared/templates/apps/wordpress.template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ MYSQL_USER=wordpress
appVolumes: [{
size: 500,
containerMountPath: '/var/lib/mysql',
accessMode: 'ReadWriteOnce'
accessMode: 'ReadWriteOnce',
storageClassName: 'longhorn',
}],
appFileMounts: [],
appPorts: [{
Expand Down Expand Up @@ -85,7 +86,8 @@ WORDPRESS_TABLE_PREFIX=wp_
appVolumes: [{
size: 500,
containerMountPath: '/var/www/html',
accessMode: 'ReadWriteMany'
accessMode: 'ReadWriteMany',
storageClassName: 'longhorn'
}],
appFileMounts: [{
containerMountPath: '/usr/local/etc/php/conf.d/custom.ini',
Expand Down
3 changes: 2 additions & 1 deletion src/shared/templates/databases/mariadb.template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ export const mariadbAppTemplate: AppTemplateModel = {
appVolumes: [{
size: 400,
containerMountPath: '/var/lib/mysql',
accessMode: 'ReadWriteOnce'
accessMode: 'ReadWriteOnce',
storageClassName: 'longhorn',
}],
appFileMounts: [],
appPorts: [{
Expand Down
3 changes: 2 additions & 1 deletion src/shared/templates/databases/mongodb.template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ export const mongodbAppTemplate: AppTemplateModel = {
appVolumes: [{
size: 500,
containerMountPath: '/data/db',
accessMode: 'ReadWriteOnce'
accessMode: 'ReadWriteOnce',
storageClassName: 'longhorn',
}],
appFileMounts: [],
appPorts: [{
Expand Down
3 changes: 2 additions & 1 deletion src/shared/templates/databases/mysql.template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ export const mysqlAppTemplate: AppTemplateModel = {
appVolumes: [{
size: 500,
containerMountPath: '/var/lib/mysql',
accessMode: 'ReadWriteOnce'
accessMode: 'ReadWriteOnce',
storageClassName: 'longhorn',
}],
appFileMounts: [],
appPorts: [{
Expand Down
3 changes: 2 additions & 1 deletion src/shared/templates/databases/postgres.template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ export const postgreAppTemplate: AppTemplateModel = {
appVolumes: [{
size: 300,
containerMountPath: '/var/lib/qs-postgres',
accessMode: 'ReadWriteOnce'
accessMode: 'ReadWriteOnce',
storageClassName: 'longhorn',
}],
appFileMounts: [],
appPorts: [{
Expand Down