1
0
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:
Amir Raminfar
2023-12-01 06:32:49 -08:00
committed by GitHub
parent fd5ed091d5
commit 6dab94d3b4
2 changed files with 2 additions and 2 deletions

View File

@@ -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]

View File

@@ -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 {