logical.importComposefunctionno test imports itfunction importCompose(source: string, text: string): ImportsThe services of a Compose file as assets and links.
Compose files: every service is an application with its image, an endpoint for each port it publishes (open to the internet where it is published on all interfaces, internal where it is published on the loopback), exposed by the service, and a dependency for each service it depends_on. Environment values are never read.
import { importCompose } from "./compose.ts";
importCompose("compose.yaml", "services:\n web:\n image: nginx\n ports:\n - \"8080:80\"\n").assets.length; // 2logical.importComposefunctionno test imports itfunction importCompose(source: string, text: string): ImportsThe services of a Compose file as assets and links.
importComposefunctionfunction importCompose(source: string, text: string): ImportsThe services of a Compose file as assets and links.