@decaf-ts/fabric-weaver
Version:
template for ts projects
20 lines (19 loc) • 468 B
TypeScript
import { DockerRestartPolicy } from "./constants";
export type DockerCompose = {
services: {
[key: string]: DockerService;
};
};
export type DockerService = {
[indexer: string]: DockerServiceDefinition;
};
export type DockerServiceDefinition = {
container_name: string;
hostname: string;
restart: DockerRestartPolicy;
image: string;
environment?: string[];
volumes?: string[];
ports?: string[];
command?: string;
};