Skip to content

Commit c901e8c

Browse files
committed
Fix README.md
1 parent 4e3b6b8 commit c901e8c

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,13 @@ The proxy is packaged in a docker container and can be configured with following
1818
| Environment Variable | Description | Status | Default |
1919
| :---------------------------------: | :--------------------------------------------: | :-------------------------------: | :--------: |
2020
| `AWS_REGION` | AWS Region for AWS ECR | Required | |
21-
| `AWS_ACCESS_KEY_ID` | AWS Account Access ID | Required | |
22-
| `AWS_SECRET_ACCESS_KEY` | AWS Account Secret Key | Required | |
23-
| `RESOLVER` | DNS server to used by proxy | Required | |
21+
| `AWS_ACCESS_KEY_ID` | AWS Account Access Key ID | Required | |
22+
| `AWS_SECRET_ACCESS_KEY` | AWS Account Secret Access Key | Required | |
23+
| `UPSTREAM` | URL for AWS ECR | Required | |
24+
| `RESOLVER` | DNS server to be used by proxy | Required | |
2425
| `PORT` | Port on which proxy listens | Required | |
2526
| `CACHE_MAX_SIZE` | Maximum size for cache volume | Optional | `75g` |
26-
| `CACHE_KEY` | Key to be used for images content/blobs | Optional | `$uri` |
27+
| `CACHE_KEY` | Cache key used for the content by nginx | Optional | `$uri` |
2728
| `ENABLE_SSL` | Used to enable SSL/TLS for proxy | Optional | `false` |
2829
| `REGISTRY_HTTP_TLS_KEY` | Path to TLS key in the container | Required with TLS | |
2930
| `REGISTRY_HTTP_TLS_CERTIFICATE` | Path to TLS cert in the container | Required with TLS | |
@@ -51,13 +52,13 @@ docker run --rm --name docker-registry-proxy --net=host \
5152
If you ran this command on "registry-proxy.example.com" you can now get your images using `docker pull registry-proxy.example.com:5000/repo/image`.
5253

5354
### Deploying the proxy
54-
Modify the ansible role variables according to your need and run the playbook as follow:
55+
Modify the ansible role [variables](https://github.com/eSailors/aws-ecr-http-proxy/tree/master/roles/docker-registry-proxy/defaults) according to your need and run the playbook as follow:
5556
```sh
5657
ansible-playbook -i hosts playbook-docker-registry-proxy.yaml
5758
```
58-
In case you want to enable SSL/TLS please replace the SSL certificates with the valid ones in `roles/docker-registry-proxy/files/*.pem`
59+
In case you want to enable SSL/TLS please replace the SSL certificates with the valid ones in [roles/docker-registry-proxy/files/*.pem](https://github.com/eSailors/aws-ecr-http-proxy/tree/master/roles/docker-registry-proxy/files)
5960

6061
### Note on SSL/TLS
6162
The proxy is using `HTTP` (plain text) as default protocol for now. So in order to avoid docker client complaining either:
6263
- (**Recommended**) Enable SSL/TLS using `ENABLE_SSL` configuration. For that you will have to mount your **valid** certificate/key in the container and pass the paths using `REGISTRY_HTTP_TLS_*` variables.
63-
- Mark the registry host as insecure in your [deamon config](https://docs.docker.com/registry/insecure/).
64+
- Mark the registry host as insecure in your client [deamon config](https://docs.docker.com/registry/insecure/).

0 commit comments

Comments
 (0)