interfaces/ts/data/service.ts

17 lines
433 B
TypeScript
Raw Normal View History

2024-02-18 19:08:52 +00:00
import type { IServiceRessources } from "./docker.js";
export interface IService {
name: string;
2024-06-09 22:48:44 +00:00
imageId: string;
scaleFactor: number;
balancingStrategy: 'round-robin' | 'least-connections';
2024-06-09 23:10:18 +00:00
secrets: { [key: string]: string };
2024-02-18 19:08:52 +00:00
ports: {
web: number;
custom?: { [domain: string]: string };
};
resources?: IServiceRessources;
domains: string[];
2024-05-27 12:34:01 +00:00
deploymentIds: string[];
deploymentDirectiveIds: string[];
2024-02-18 19:08:52 +00:00
}