Merge pull request #795 from aaronlehmann/config-file-names

Rename dev-config.yml and example-config.yml to config-dev.yml and config-example.yml
This commit is contained in:
Stephen Day 2015-07-30 16:41:14 -07:00
commit 7e4b740763
5 changed files with 3 additions and 3 deletions

View File

@ -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"]

View File

@ -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

View File

@ -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.