Sets up a private docker registry on a docker server.
- Clone the repository.
- In a terminal, navigate to the auth folder and run
htpasswd -Bc registry.password <username>
. Fill out the password.- Requires apache2-utils is installed on Ubuntu
- Run the docker with docker-compose
docker-compose up -d
.
- Clone the repository.
- Copy .env-dist to .env and fill out the REGISTRY_URL with the public url for the registry.
- In a terminal, navigate to the auth folder and run
htpasswd -Bc registry.password <username>
. Fill out the password.- Requires apache2-utils is installed on Ubuntu
- Run the docker with docker-compose
docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d
.