Dagger
Search

compose

No long description provided.

Installation

dagger install github.com/wingyplus/daggerverse/compose@b4d24011f88f8798ba548d0093c86c2bb70c2b82

Entrypoint

Return Type
Compose
Example
func (m *myModule) example() *Compose  {
	return dag.
			Compose()
}
@function
def example() -> dag.Compose:
	return (
		dag.compose()
	)
@func()
example(): Compose {
	return dag
		.compose()
}

Types

Compose

Compose is root GraphQL type for Docker Compose.

withFile()

WithFile setup service binding from the given compose path.

Returns a container with pre-setup services.

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
pathString !-No description provided
Example
dagger -m github.com/wingyplus/daggerverse/compose@b4d24011f88f8798ba548d0093c86c2bb70c2b82 call \
 with-file --path string
func (m *myModule) example(path string) *Container  {
	return dag.
			Compose().
			WithFile(path)
}
@function
def example(path: str) -> dagger.Container:
	return (
		dag.compose()
		.with_file(path)
	)
@func()
example(path: string): Container {
	return dag
		.compose()
		.withFile(path)
}