KiaArmani / deploying-lyra

A repository containing various useful resources around deploying Lyra to players.
Other
9 stars 1 forks source link

infra: Private Image Registry #7

Closed KiaArmani closed 1 year ago

KiaArmani commented 1 year ago

Goal: Figure out how to deploy a private docker image registry in a secure manner that is accessible to both in-network machines (GameServers, possibly CI/CD) and remote machines (i.e. An engineer wanting to locally build and deploy an image to a specific tag)

KiaArmani commented 1 year ago

Deployed the registry on a new VM running within the Tailscale network, I will leave out additional auth for now as it is only accessible from within that secure network anyway.

Setup using: https://docs.docker.com/registry/deploying/

Next:

KiaArmani commented 1 year ago

Done. Pretty nice guide for a quick setup here, though it does not work for Tailscale and IP restricting. Need to force Docker to use the Tailscale Network adapter to push these commands somehow.