Skip to content

Commit 478d55c

Browse files
committed
style(config): reposition comments for docker and traefik sections
Comments in the docker and traefik sections have been moved to ensure they are preserved by the setup.
1 parent 74d057a commit 478d55c

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

config.sample.yaml

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,12 @@ registries:
2424
password: pass
2525
ttl: 720h
2626

27-
28-
# The docker compose config. This config is used to generate the docker-compose.yaml file. You can use the baseConfig
29-
# to set the base config for the compose file. The perRegistry config will be used for every registry. You can use the
30-
# any placeholder from registry (defined in previous section) in the perRegistry config. The setup will replace the
31-
# placeholder with the value from the registry config. For example, the placeholder {name} will be replaced with the
32-
# name of the registry.
3327
docker:
28+
# The docker compose config. This config is used to generate the docker-compose.yaml file. You can use the baseConfig
29+
# to set the base config for the compose file. The perRegistry config will be used for every registry. You can use the
30+
# any placeholder from registry (defined in previous section) in the perRegistry config. The setup will replace the
31+
# placeholder with the value from the registry config. For example, the placeholder {name} will be replaced with the
32+
# name of the registry.
3433
baseConfig:
3534
services:
3635
traefik:
@@ -80,14 +79,13 @@ docker:
8079
environment:
8180
- 'REGISTRY_HTTP_SECRET=$REGISTRY_HTTP_SECRET'
8281

83-
84-
# The traefik config. This config is used to generate the traefik.yaml file. As with the docker compose config, you can
85-
# use the baseConfig to set the base config for the traefik config. The perRegistry config will be used for every registry.
86-
# You can use the any placeholder from registry (defined in previous section) in the perRegistry config. The setup will
87-
# replace the placeholder with the value from the registry config. For example, the placeholder {name} will be replaced
88-
# with the name of the registry.
89-
# In this sample config, I use a wildcard CNAME (and certificate) to use a subdomain for every registry.
9082
traefik:
83+
# The traefik config. This config is used to generate the traefik.yaml file. As with the docker compose config, you can
84+
# use the baseConfig to set the base config for the traefik config. The perRegistry config will be used for every registry.
85+
# You can use the any placeholder from registry (defined in previous section) in the perRegistry config. The setup will
86+
# replace the placeholder with the value from the registry config. For example, the placeholder {name} will be replaced
87+
# with the name of the registry.
88+
# In this sample config, I use a wildcard CNAME (and certificate) to use a subdomain for every registry.
9189
baseConfig:
9290
providers:
9391
file:

0 commit comments

Comments
 (0)