Publicly available demo - image.manticoresearch.com
To run the project on your local machine, you need to have Docker installed with the compose plugin. Follow these commands to start:
git clone https://github.com/manticoresoftware/manticore-image-search.git
cd manticore-image-search
cd docker/containers/manticore
wget https://github.com/manticoresoftware/manticore-image-search/releases/download/241204/backup.tar.gz && rm -fr backup && tar xzf backup.tar.gz
cd ../..
docker compose down -v
docker compose up
After completing these steps, the project should be accessible at http://localhost/.
The default port for the server is 80, so if you need to change it, update the nginx
section in app/config/app.ini.yml
.
If you plan to extend this project beyond a simple Manticore Image Search demo and want to run your own version from this repository, we've got you covered with remote server deployment. To get started, first grab yoda and give its documentation a quick read to understand how it works.
For deployment, tweak the docker/Envfile
with your server details and make sure you have passwordless authentication set up with your SSH key. Then, simply run:
yoda deploy --env=production
Please remember, deployment happens from the default branch to the server from the local machine. You can use the --branch
flag with the yoda
command to deploy from a different branch.
Place your public keys in the docker/.ssh/authorized_keys
folder on the local machine.
-
Start by initializing a new server using Rocky Linux 9 as the base operating system.
-
Enter your server's IP address in the
Envfile
file on your local machine. -
Execute the following command to prepare the server and also set up SSH keys for you:
yoda setup --host=server-ip
-
Kick off the deployment process with the next command:
yoda deploy --host=server-ip
or
yoda deploy --env=production --branch=main
-
Wait for it to finish, and then you're good to go!