Dockerfile 550 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
FROM registry:2

COPY files/. /


# apart from REGISTRY_LOG_LEVEL these environment variables should not be
# overriden at runtime
ENV									\
        REGISTRY_AUTH="token"						\
        REGISTRY_AUTH_TOKEN_REALM="https://0.0.0.0/jwt/auth"		\
        REGISTRY_AUTH_TOKEN_SERVICE="allgo_registry"			\
        REGISTRY_AUTH_TOKEN_ISSUER="allgo_oauth"			\
        REGISTRY_AUTH_TOKEN_ROOTCERTBUNDLE="/vol/ro/certs/tokens.crt"	\
        REGISTRY_LOG_LEVEL="info"					\
        REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY="/vol/rw/registry"

EXPOSE	5000