diff --git a/README.md b/README.md index 1f201a93..5b6a60d3 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,6 @@ Dozzle will be available at [http://localhost:8888/](http://localhost:8888/). Here is the Docker Compose file: - version: "3" services: dozzle: container_name: dozzle diff --git a/docs/guide/actions.md b/docs/guide/actions.md index 13d77916..9636da99 100644 --- a/docs/guide/actions.md +++ b/docs/guide/actions.md @@ -17,7 +17,6 @@ docker run --volume=/var/run/docker.sock:/var/run/docker.sock -p 8080:8080 amir2 ``` ```yaml [docker-compose.yml] -version: "3" services: dozzle: image: amir20/dozzle:latest @@ -25,8 +24,7 @@ services: - /var/run/docker.sock:/var/run/docker.sock ports: - 8080:8080 - environment: - DOZZLE_ENABLE_ACTIONS=true + environment: DOZZLE_ENABLE_ACTIONS=true ``` ::: diff --git a/docs/guide/authentication.md b/docs/guide/authentication.md index 703a039b..598d4dfa 100644 --- a/docs/guide/authentication.md +++ b/docs/guide/authentication.md @@ -38,7 +38,6 @@ $ docker run -v /var/run/docker.sock:/var/run/docker.sock -v /path/to/dozzle/dat ``` ```yaml [docker-compose.yml] -version: "3" services: dozzle: image: amir20/dozzle:latest @@ -86,7 +85,6 @@ $ docker run -v /var/run/docker.sock:/var/run/docker.sock -p 8080:8080 amir20/do ``` ```yaml [docker-compose.yml] -version: "3" services: dozzle: image: amir20/dozzle:latest @@ -113,8 +111,6 @@ In this mode, Dozzle expects the following headers: ::: code-group ```yaml [docker-compose.yml] -version: "3.3" - networks: net: driver: bridge @@ -252,8 +248,6 @@ software. This section defines how Dozzle can be setup to use Cloudflare Zero Trust for authentication. ```yaml [docker-compose.yml] -version: "3.3" - services: dozzle: image: amir20/dozzle:latest diff --git a/docs/guide/changing-base.md b/docs/guide/changing-base.md index f0ecb71a..77430639 100644 --- a/docs/guide/changing-base.md +++ b/docs/guide/changing-base.md @@ -13,7 +13,6 @@ docker run --volume=/var/run/docker.sock:/var/run/docker.sock -p 8080:8080 amir2 ``` ```yaml [docker-compose.yml] -version: "3" services: dozzle: image: amir20/dozzle:latest diff --git a/docs/guide/container-groups.md b/docs/guide/container-groups.md index 657ee470..794d54b0 100644 --- a/docs/guide/container-groups.md +++ b/docs/guide/container-groups.md @@ -23,7 +23,6 @@ docker run --label dev.dozzle.group=myapp hello-world ``` ```yaml [docker-compose.yml] -version: "3" services: dozzle: image: hello-world diff --git a/docs/guide/container-names.md b/docs/guide/container-names.md index ce56e120..5e24467f 100644 --- a/docs/guide/container-names.md +++ b/docs/guide/container-names.md @@ -19,7 +19,6 @@ docker run --label dev.dozzle.name=hello hello-world ``` ```yaml [docker-compose.yml] -version: "3" services: dozzle: image: hello-world diff --git a/docs/guide/debugging.md b/docs/guide/debugging.md index 25d535ad..ac2ad355 100644 --- a/docs/guide/debugging.md +++ b/docs/guide/debugging.md @@ -7,7 +7,6 @@ title: Debugging By default, Dozzle does not output a lot of logs. However this can be changed with `--level` flag. The default value is `info` which only prints limited logs. You can use `debug` or `trace` which will show details about memory, configuration and other stats. `DOZZLE_LEVEL` can be used in compose configurations. Below is an example of using `docker-compose.yml` file to enable `debug` level. ```yaml -version: "3" services: dozzle: image: amir20/dozzle:latest diff --git a/docs/guide/filters.md b/docs/guide/filters.md index 7ffa5f95..e2cedc53 100644 --- a/docs/guide/filters.md +++ b/docs/guide/filters.md @@ -13,7 +13,6 @@ docker run --volume=/var/run/docker.sock:/var/run/docker.sock -p 8080:8080 amir2 ``` ```yaml [docker-compose.yml] -version: "3" services: dozzle: image: amir20/dozzle:latest diff --git a/docs/guide/healthcheck.md b/docs/guide/healthcheck.md index c7c96b84..189dac7c 100644 --- a/docs/guide/healthcheck.md +++ b/docs/guide/healthcheck.md @@ -4,10 +4,9 @@ title: Healthcheck # Adding healthcheck -Dozzle has internal support for healthcheck using `dozzle healthcheck` command. It is not enabled by default as it adds extra CPU usage. To use `healthcheck` you need to configure it. Below is an example that checks the health of Dozzle every 3 seconds. +Dozzle has internal support for healthcheck using `dozzle healthcheck` command. It is not enabled by default as it adds extra CPU usage. To use `healthcheck` you need to configure it. Below is an example that checks the health of Dozzle every 3 seconds. ```yaml -version: "3" services: dozzle: image: amir20/dozzle:latest diff --git a/docs/guide/hostname.md b/docs/guide/hostname.md index 46810700..23ee4af6 100644 --- a/docs/guide/hostname.md +++ b/docs/guide/hostname.md @@ -15,7 +15,6 @@ docker run --volume=/var/run/docker.sock:/var/run/docker.sock -p 8080:8080 amir2 ``` ```yaml [docker-compose.yml] -version: "3" services: dozzle: image: amir20/dozzle:latest diff --git a/docs/guide/log-files-on-disk.md b/docs/guide/log-files-on-disk.md index a6121ae2..afd3a175 100644 --- a/docs/guide/log-files-on-disk.md +++ b/docs/guide/log-files-on-disk.md @@ -21,7 +21,6 @@ docker run -v /var/log/system.log:/var/log/test.log alpine tail -f /var/log/test ``` ```yaml [docker-compose.yml] -version: "3" services: dozzle-from-file: container_name: dozzle-from-file @@ -31,7 +30,7 @@ services: command: - tail - -f - - /var/log/stream.log + - /var/log/stream.log network_mode: none restart: unless-stopped ``` diff --git a/docs/guide/remote-hosts.md b/docs/guide/remote-hosts.md index 00c91fe9..18ffc60b 100644 --- a/docs/guide/remote-hosts.md +++ b/docs/guide/remote-hosts.md @@ -26,7 +26,6 @@ $ docker run -v /var/run/docker.sock:/var/run/docker.sock -v /path/to/certs:/cer ``` ```yaml [docker-compose.yml] -version: "3" services: dozzle: image: amir20/dozzle:latest @@ -72,7 +71,6 @@ docker run --volume=/var/run/docker.sock:/var/run/docker.sock -p 8080:8080 amir2 ``` ```yaml [docker-compose.yml] -version: "3" services: dozzle: image: amir20/dozzle:latest