-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathregistry.yml
23 lines (23 loc) · 972 Bytes
/
registry.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
registry:
restart: always
image: registry
volumes:
- /var/lib/docker/volumes/_data/registry:/registry
- ./config/config.yml:/etc/docker/registry/config.yml
- ./certs:/certs
# external_links:
# - "gitlab:gitlab.ufpa.br"
environment:
- REGISTRY_LOG_LEVEL=info
- REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY=/registry
- REGISTRY_AUTH_TOKEN_REALM=http://gitlab.ufpa.br:10080/jwt/auth
- REGISTRY_AUTH_TOKEN_SERVICE=container_registry
- REGISTRY_AUTH_TOKEN_ISSUER=gitlab-issuer
- REGISTRY_AUTH_TOKEN_ROOTCERTBUNDLE=/certs/registry-auth.crt
- REGISTRY_HTTP_ADDR=0.0.0.0:5000
- REGISTRY_HTTP_HOST=https://registro.ufpa.br
- REGISTRY_HTTP_TLS_LETSENCRYPT_CACHEFILE=/etc/docker/registry/letsencrypt.json
- REGISTRY_HTTP_TLS_CERTIFICATE=/certs/registry-auth.crt
- REGISTRY_HTTP_TLS_KEY=/certs/registry-auth.key
- REGISTRY_STORAGE_DELETE_ENABLED=true