HINT: this is the first commit and push and not yet tested / work in progress
Scripts to create a registry with portus and 389-ds
This is prepared for podman on SLES 15 SP2 so podman needs to be installed.. Scripts are for /data/certificates, /data/389-ds and /data/registry - so place them there or adjust.
-
adjust variables.txt in certificates
-
create certificates with executing scripts in certificates
-
adjust variables in 389-ds
-
start 389-ds.sh
-
adjust variables.txt in registry
-
start mysql.sh
-
create database with the correct user and password:
podman exec -it mysql bash
mysql -u root -p
CREATE USER 'portus'@'%' IDENTIFIED BY '';
CREATE DATABASE <database_name>;
GRANT ALL ON <database_name>.* TO 'portus'@'%';
quit
exit
-
start registry.sh
-
start portus.sh
-
start portus-background.sh
-
login to portus with the password in variables.txt
-
connect registry :5000 and use ssl
-
create admin user, create other users, teams, namespaces and push images
-
enjoy