nginx
No long description provided.
Installation
dagger install github.com/felipepimentel/daggerverse/libraries/nginx@v0.0.0
Entrypoint
Return Type
Nginx
Example
dagger -m github.com/felipepimentel/daggerverse/libraries/nginx@a6e2b170f4c091b039eb27100249bb19972839d7 call \
func (m *myModule) example() *Nginx {
return dag.
Nginx()
}
@function
def example() -> dag.Nginx:
return (
dag.nginx()
)
@func()
example(): Nginx {
return dag
.nginx()
}
Types
Nginx 🔗
ctr() 🔗
Return Type
Container !
Example
dagger -m github.com/felipepimentel/daggerverse/libraries/nginx@a6e2b170f4c091b039eb27100249bb19972839d7 call \
ctr
func (m *myModule) example() *Container {
return dag.
Nginx().
Ctr()
}
@function
def example() -> dagger.Container:
return (
dag.nginx()
.ctr()
)
@func()
example(): Container {
return dag
.nginx()
.ctr()
}
serve() 🔗
example usage: “dagger up –port 8080:80 serve –directory .”
Return Type
Service !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
directory | Directory ! | - | No description provided |
Example
dagger -m github.com/felipepimentel/daggerverse/libraries/nginx@a6e2b170f4c091b039eb27100249bb19972839d7 call \
serve --directory DIR_PATH
func (m *myModule) example(directory *Directory) *Service {
return dag.
Nginx().
Serve(directory)
}
@function
def example(directory: dagger.Directory) -> dagger.Service:
return (
dag.nginx()
.serve(directory)
)
@func()
example(directory: Directory): Service {
return dag
.nginx()
.serve(directory)
}