From 6c2ef78aa71a2147616711b66cec39d2e02cc5f6 Mon Sep 17 00:00:00 2001 From: Aaron Lehmann Date: Thu, 30 Jul 2015 15:51:50 -0700 Subject: [PATCH] Rename dev-config.yml and example-config.yml to config-dev.yml and config-example.yml Better for sort order. Signed-off-by: Aaron Lehmann --- Dockerfile | 2 +- cmd/registry/{dev-config.yml => config-dev.yml} | 0 cmd/registry/{example-config.yml => config-example.yml} | 0 docs/building.md | 2 +- docs/configuration.md | 2 +- 5 files changed, 3 insertions(+), 3 deletions(-) rename cmd/registry/{dev-config.yml => config-dev.yml} (100%) rename cmd/registry/{example-config.yml => config-example.yml} (100%) diff --git a/Dockerfile b/Dockerfile index 11a3e6e4..5555606f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ ENV DOCKER_BUILDTAGS include_rados WORKDIR $DISTRIBUTION_DIR COPY . $DISTRIBUTION_DIR -COPY cmd/registry/dev-config.yml $DISTRIBUTION_DIR/cmd/registry/config.yml +COPY cmd/registry/config-dev.yml $DISTRIBUTION_DIR/cmd/registry/config.yml RUN make PREFIX=/go clean binaries VOLUME ["/var/lib/registry"] diff --git a/cmd/registry/dev-config.yml b/cmd/registry/config-dev.yml similarity index 100% rename from cmd/registry/dev-config.yml rename to cmd/registry/config-dev.yml diff --git a/cmd/registry/example-config.yml b/cmd/registry/config-example.yml similarity index 100% rename from cmd/registry/example-config.yml rename to cmd/registry/config-example.yml diff --git a/docs/building.md b/docs/building.md index 2a0c226e..504adfd0 100644 --- a/docs/building.md +++ b/docs/building.md @@ -45,7 +45,7 @@ The registry can be run with the default config using the following incantantation: ``` -$ $GOPATH/bin/registry $GOPATH/src/github.com/docker/distribution/cmd/registry/dev-config.yml +$ $GOPATH/bin/registry $GOPATH/src/github.com/docker/distribution/cmd/registry/config-dev.yml INFO[0000] endpoint local-5003 disabled, skipping app.id=34bbec38-a91a-494a-9a3f-b72f9010081f version=v2.0.0-alpha.1+unknown INFO[0000] endpoint local-8083 disabled, skipping app.id=34bbec38-a91a-494a-9a3f-b72f9010081f version=v2.0.0-alpha.1+unknown INFO[0000] listening on :5000 app.id=34bbec38-a91a-494a-9a3f-b72f9010081f version=v2.0.0-alpha.1+unknown diff --git a/docs/configuration.md b/docs/configuration.md index cdb96583..7557f33c 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -1571,7 +1571,7 @@ The above configures the registry instance to run on port `5000`, binding to verbose. A similar simple configuration is available at -[example-config.yml](https://github.com/docker/distribution/blob/master/cmd/registry/example-config.yml). +[config-example.yml](https://github.com/docker/distribution/blob/master/cmd/registry/config-example.yml). Both are generally useful for local development.