-
You can optionally regenerate the certificate in
/distribution/certs. -
Build:
docker compose build -
Run:
docker compose up -
Use debug data while developing. On the first run, while the database is empty, visit http://localhost:8000/api/v1/dummy (do this just once).
During development, run the client/ app locally using npm run dev.
In production, you should use nginx as the web app server. To do this, comment in the test environment and comment out the production environment in the root Dockerfile.
You can access the server at localhost:8000.
While developing the API, use Swagger docs: localhost:8000/docs.
Database UI is in localhost:8002. Check compose.yaml for the login credentials.
The initial superadmin password is stored in volume-server-cfg/superadmin_password.txt.
To push and pull images through mocker-hub, use the registry:
Log in:
docker login localhost:5000In case you still have issues, create a file /etc/docker/daemon.json and write the following:
{
"insecure-registries": ["localhost:5000"]
}Push an image into the registry:
docker tag {image-name}[:{tag}] localhost:5000/{image-name}[:{tag}]
docker push localhost:5000/{image-name}[:{tag}]If no :tag is provided, latest is used by default.
Pull an image from the registry:
docker pull localhost:5000/{image-name}[:{tag}]Log out:
docker logout localhost:5000
-
The Explore section lets you search and filter all repositories:

-
Clicking on any repository opens its home page. The overview shows the description:

-
You can also preview and search through repository tags (if any):

-
Creating a new organization. If an image is not specified, one will be automatically created

-
View members of the organization. If you are an owner of the org, you can add and remove users.

-
Clicking on a team opens its details. The owner can modify the name and description of a team, as well as add and remove members from the team.

-
Team permissions are defined for each repository belonging to an organization.

-
Users can modify their details. The username cannot be changed.

-
Admins can search for users in the database and assign them special badges.

-
Admins can search through logs created by the various services. Advanced search is supported.

-
Clicking on the help button opens a side panel that explains how to search for logs, with provided examples.

This project is licensed with the BSD 2-Clause License. See LICENSE for more info.