Extend typings

This commit is contained in:
Andras Bacsai
2022-04-06 17:18:25 +02:00
parent a7ed3e58db
commit d18bb9cc74
3 changed files with 9 additions and 11 deletions

View File

@@ -1,5 +1,3 @@
import { makeLabelForServices } from '../buildPacks/common';
export type ComposeFile = {
version: ComposerFileVersion;
services: Record<string, ComposeFileService>;
@@ -11,10 +9,12 @@ export type ComposeFileService = {
container_name: string;
image?: string;
networks: string[];
environment: Record<string, unknown>;
environment?: Record<string, unknown>;
volumes?: string[];
ulimits?: unknown;
labels?: string[];
env_file?: string[];
extra_hosts?: string[];
restart: ComposeFileRestartOption;
depends_on?: string[];
command?: string;