A private docker registry installation using SharpNet and SharpCD
-
Make sure SharpCD havs been installed.
-
Ensure the enviromental variables have been set in an enviromental variable file:
# sharpnet ports
HTTP_PORT=80
HTTPS_PORT=443
# Sharpnet gmail login credentials
# for sending errors
MAILPASS=email_password
SENDER_EMAIL=email
# Email that problems will be sent to
RECEIVER_EMAIL=email@domain1.com
# Domain for certificates
DOMAIN=domain2.com
# For Devs only
DEV=FALSE
NETWORK=sharpnet(See the sharpnet documentation for more information)
- Run the following command to install the dependencies:
sharpcd --remotefile https://raw.githubusercontent.com/Sharpz7/registry/main/.sharpcd/dependencies.yml-
Make sure SharpCD havs been installed.
-
Ensure the enviromental variables have been set in an enviromental variable file:
# docker login for private registry
DOCKER_PASS=docker_password
DOCKER_USER=docker_user
# domains that will be used for the private registry
SHARPDOMAINS=domain1.com,domain2.com- Run the following command to install the registry:
sharpcd --remotefile https://raw.githubusercontent.com/Sharpz7/registry/main/.sharpcd/sharpcd.yml