Tart supports uploading images to an OCI registry. This section describes how to setup Gitea as a container registry.
$ brew install colima docker docker-compose
$ colima start
- Create a
registry
folder - Copy the
docker-compose.yaml
file in the folder - Create a
certs
sub-folder with thedomain.crt
anddomain.key
files (see below if you need to generate one) - Create a
data
sub-folder
- From the
registry
folder, rundocker-compose up -d
- Follow the instructions on the Gitea interface
Replace SERVER_IP
with the actual IP.
openssl req \
-newkey rsa:4096 -nodes -sha256 -keyout certs/domain.key \
-addext "subjectAltName = IP:SERVER_IP" \
-x509 -days 365 -out certs/domain.crt