Skip to content

Commit 43e3d98

Browse files
authored
Merge pull request #1683 from david-uhlig/update-registry-config-doc
Update registry config documentation to reflect Kamal 2.8.0 changes
2 parents 4bac779 + 328b853 commit 43e3d98

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

lib/kamal/configuration/docs/registry.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,27 @@
11
# Registry
22
#
33
# The default registry is Docker Hub, but you can change it using `registry/server`.
4+
5+
# Using a local container registry
6+
#
7+
# If the registry server starts with `localhost`, Kamal will start a local Docker registry
8+
# on that port and push the app image to it.
9+
registry:
10+
server: localhost:5555
11+
12+
# Using Docker Hub as the container registry
413
#
514
# By default, Docker Hub creates public repositories. To avoid making your images public,
615
# set up a private repository before deploying, or change the default repository privacy
716
# settings to private in your [Docker Hub settings](https://hub.docker.com/repository-settings/default-privacy).
817
#
9-
# A reference to a secret (in this case, `DOCKER_REGISTRY_TOKEN`) will look up the secret
18+
# A reference to a secret (in this case, `KAMAL_REGISTRY_PASSWORD`) will look up the secret
1019
# in the local environment:
1120
registry:
12-
server: registry.digitalocean.com
1321
username:
14-
- DOCKER_REGISTRY_TOKEN
22+
- <your docker hub username>
1523
password:
16-
- DOCKER_REGISTRY_TOKEN
24+
- KAMAL_REGISTRY_PASSWORD
1725

1826
# Using AWS ECR as the container registry
1927
#

0 commit comments

Comments
 (0)