From 3cf4463982806116d4bc54ecfda3975d8a16f05a Mon Sep 17 00:00:00 2001 From: John de Graaff Date: Fri, 17 Apr 2026 15:15:52 +0200 Subject: [PATCH] Update docker-compose structure in deploying.md adding "services:" top-level key in docker-compose file example. Signed-off-by: John de Graaff --- docs/content/about/deploying.md | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/docs/content/about/deploying.md b/docs/content/about/deploying.md index d1f692122..6afded62d 100644 --- a/docs/content/about/deploying.md +++ b/docs/content/about/deploying.md @@ -496,21 +496,22 @@ compose file to deploy it, rather than relying on a specific `docker run` invocation. Use the following example `docker-compose.yml` as a template. ```yaml -registry: - restart: always - image: registry:3 - ports: - - 5000:5000 - environment: - REGISTRY_HTTP_TLS_CERTIFICATE: /certs/domain.crt - REGISTRY_HTTP_TLS_KEY: /certs/domain.key - REGISTRY_AUTH: htpasswd - REGISTRY_AUTH_HTPASSWD_PATH: /auth/htpasswd - REGISTRY_AUTH_HTPASSWD_REALM: Registry Realm - volumes: - - /path/data:/var/lib/registry - - /path/certs:/certs - - /path/auth:/auth +services: + registry: + restart: always + image: registry:3 + ports: + - 5000:5000 + environment: + REGISTRY_HTTP_TLS_CERTIFICATE: /certs/domain.crt + REGISTRY_HTTP_TLS_KEY: /certs/domain.key + REGISTRY_AUTH: htpasswd + REGISTRY_AUTH_HTPASSWD_PATH: /auth/htpasswd + REGISTRY_AUTH_HTPASSWD_REALM: Registry Realm + volumes: + - /path/data:/var/lib/registry + - /path/certs:/certs + - /path/auth:/auth ``` {{< hint type=warning >}}