mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-21 21:33:18 +01:00
fix: changes --enableactions to --enable-actions (#2554)
This commit is contained in:
@@ -13,7 +13,7 @@ This feature is **disabled** by default, which can be enabled by setting environ
|
|||||||
::: code-group
|
::: code-group
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
docker run -e DOZZLE_ENABLE_ACTIONS=true --volume=/var/run/docker.sock:/var/run/docker.sock -p 8080:8080 amir20/dozzle
|
docker run --volume=/var/run/docker.sock:/var/run/docker.sock -p 8080:8080 amir20/dozzle --enable-actions
|
||||||
```
|
```
|
||||||
|
|
||||||
```yaml [docker-compose.yml]
|
```yaml [docker-compose.yml]
|
||||||
|
|||||||
2
main.go
2
main.go
@@ -53,7 +53,7 @@ type args struct {
|
|||||||
Healthcheck *HealthcheckCmd `arg:"subcommand:healthcheck" help:"checks if the server is running."`
|
Healthcheck *HealthcheckCmd `arg:"subcommand:healthcheck" help:"checks if the server is running."`
|
||||||
RemoteHost []string `arg:"env:DOZZLE_REMOTE_HOST,--remote-host,separate" help:"list of hosts to connect remotely"`
|
RemoteHost []string `arg:"env:DOZZLE_REMOTE_HOST,--remote-host,separate" help:"list of hosts to connect remotely"`
|
||||||
AuthProvider string `arg:"--auth-provider,env:DOZZLE_AUTH_PROVIDER" default:"none" help:"sets the auth provider to use. Currently only forward-proxy is supported."`
|
AuthProvider string `arg:"--auth-provider,env:DOZZLE_AUTH_PROVIDER" default:"none" help:"sets the auth provider to use. Currently only forward-proxy is supported."`
|
||||||
EnableActions bool `arg:"env:DOZZLE_ENABLE_ACTIONS" default:"false" help:"enables essential actions on containers from the web interface."`
|
EnableActions bool `arg:"--enable-actions,env:DOZZLE_ENABLE_ACTIONS" default:"false" help:"enables essential actions on containers from the web interface."`
|
||||||
}
|
}
|
||||||
|
|
||||||
type HealthcheckCmd struct {
|
type HealthcheckCmd struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user