From 8a3831fd05de8ecb3c443825ecbfe4f2dd7d3b2e Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Sat, 12 Sep 2026 15:04:04 +0200 Subject: [PATCH] chore: formatting --- README.md | 1 - README_ES.md | 1 - README_zh-CN.md | 1 - examples/scratch/README.md | 26 ++++++++++++-------------- examples/traefik/README.md | 1 - 5 files changed, 12 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index ab0c304..7d11cde 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,6 @@ Docker is the easiest way. There is the [official image here](https://hub.docker ```yaml # docker-compose.yml - services: cache: image: valkey/valkey:7-alpine diff --git a/README_ES.md b/README_ES.md index 4541ca4..f5cbfc0 100644 --- a/README_ES.md +++ b/README_ES.md @@ -90,7 +90,6 @@ Docker es la manera más fácil. Aquí encontramos [la imagen oficial](https://h ```yaml # docker-compose.yml - services: cache: image: valkey/valkey:7-alpine diff --git a/README_zh-CN.md b/README_zh-CN.md index 5871de5..68e61c3 100644 --- a/README_zh-CN.md +++ b/README_zh-CN.md @@ -114,7 +114,6 @@ services: - 域名 `example.org` ```yaml - networks: proxy: external: true diff --git a/examples/scratch/README.md b/examples/scratch/README.md index b2af4b2..87560e4 100644 --- a/examples/scratch/README.md +++ b/examples/scratch/README.md @@ -30,21 +30,21 @@ services: image: traefik:2.6 restart: unless-stopped ports: - - '80:80' - - '443:443' + - "80:80" + - "443:443" volumes: - /var/run/docker.sock:/var/run/docker.sock - ./traefik.yaml:/etc/traefik/traefik.yaml:ro - ./data:/data labels: - - 'traefik.enable=true' + - "traefik.enable=true" # HTTP to HTTPS redirection - - 'traefik.http.routers.http_catchall.rule=HostRegexp(`{any:.+}`)' - - 'traefik.http.routers.http_catchall.entrypoints=insecure' - - 'traefik.http.routers.http_catchall.middlewares=https_redirect' - - 'traefik.http.middlewares.https_redirect.redirectscheme.scheme=https' - - 'traefik.http.middlewares.https_redirect.redirectscheme.permanent=true' + - "traefik.http.routers.http_catchall.rule=HostRegexp(`{any:.+}`)" + - "traefik.http.routers.http_catchall.entrypoints=insecure" + - "traefik.http.routers.http_catchall.middlewares=https_redirect" + - "traefik.http.middlewares.https_redirect.redirectscheme.scheme=https" + - "traefik.http.middlewares.https_redirect.redirectscheme.permanent=true" networks: default: @@ -61,15 +61,15 @@ api: # Define HTTP and HTTPS entrypoint entryPoints: insecure: - address: ':80' + address: ":80" secure: - address: ':443' + address: ":443" # Dynamic configuration will come from docker labels providers: docker: - endpoint: 'unix:///var/run/docker.sock' - network: 'proxy' + endpoint: "unix:///var/run/docker.sock" + network: "proxy" exposedByDefault: false # Enable acme with http file challenge @@ -99,7 +99,6 @@ Create another docker-compose.yaml file in another folder. We will assume that t ``` ```yaml - networks: proxy: external: true @@ -153,7 +152,6 @@ docker-compose up -d ```yaml # docker-compose.yaml - services: watchtower: image: containrrr/watchtower diff --git a/examples/traefik/README.md b/examples/traefik/README.md index eeb952a..e863fc7 100644 --- a/examples/traefik/README.md +++ b/examples/traefik/README.md @@ -9,7 +9,6 @@ Assumptions: - Domain name `example.org`. ```yaml - networks: proxy: external: true