You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docker run --name openresty_docker_registry_proxy \
15
20
--rm -it \
@@ -20,31 +25,48 @@ docker run --name openresty_docker_registry_proxy \
20
25
docker-registry-proxy-cache:latest
21
26
```
22
27
23
-
# Run with docker compose
28
+
## Run with docker compose
29
+
24
30
```bash
25
31
docker compose up
26
32
```
27
33
28
34
The `HTPASSWD` environment variable activates basic authentication. In this example, we define two users:
29
-
* user1:user1
30
-
* user2:user2
35
+
36
+
* user1:password1
37
+
* user2:password2
31
38
32
39
The `HTPASSWD_DELIMITER` environment variable can be used to specify a custom delimiter. By default, a `space` is used.
33
40
34
41
By default, `generate-certificate.sh` generates a self-signed certificate. You can override this by mounting a volume with your own certificates at `/certs`.
0 commit comments