A private docker registry is deployed to "house" all apps/services' container images.
DO NOT expose this to the public Internet.
Create a VM in Proxmox named ubuntu-server
and install ubuntu server 20.x. This will act as the base for the docker-registry. Ensure the username is hl and password is {PM_PASSWORD}
.
yarn provision docker-registry prod.env
yarn initialize-secrets --scope @ha/docker-registry
Set secrets via the Vault UI.
Update the ./deployments/docker-registry/hosts.yml
file with the IP of the new VM.
yarn deploy --scope @ha/docker-registry
This assumes you are running a local DNS server, such as pihole.
Point "docker-registry to the VM IP ({PROD_DOCKER_IP}
or what is configured in ./.provision-vars.env
file) via a DNS entry.
docker pull alpine:latest
docker tag alpine:latest "docker-registry:5000/alpine:latest"
docker push "docker-registry:5000/alpine:latest"