Skip to content

Instantly share code, notes, and snippets.

View irfanjunaid's full-sized avatar
🎯
Focusing

Irfan Junaid irfanjunaid

🎯
Focusing
View GitHub Profile
registry:
restart: always
image: registry:latest
ports:
- 443:5000
environment:
REGISTRY_HTTP_TLS_CERTIFICATE: /certs/domain.crt
REGISTRY_HTTP_TLS_KEY: /certs/domain.key
REGISTRY_AUTH: htpasswd
REGISTRY_AUTH_HTPASSWD_PATH: /var/lib/registry/passfile