Deploy on Yandex Cloud
You can deploy the reader portal on your own server or in any public cloud. As an example, let's deploy it on Yandex Cloud.
Create a Yandex Cloud account or sign in to an existing one.
Create a Virtual machine resource.
Enter the machine name, for example GramaxTest.
Go to the
Container solutiontab and click Configure.Go to the
Docker composetab.Open gram.ax/docker-compose.ya-cloud.yaml and copy the file contents. Paste them into the
Docker composefield. You can change some parameters there:Port number. If something is already running locally on port 80, replace
80:80with<free port>:80.Administrator login and password. The administrator adds and updates catalogs on the portal. Change these credentials so that no one can access the admin panel without your knowledge.
Click Apply.
In the Access block, enter any name and generate an SSH key. To do this, open the console on your computer:
Run the command:
ssh-keygen -t ed25519 -f ~/.ssh/yandex_cloud_gramaxPress Enter three times.
Copy the key: on Mac —
cat ~/.ssh/yandex_cloud_gramax.pub | pbcopy, on Windows —cat ~/.ssh/yandex_cloud_gramax.pub | clip.
Return to Yandex Cloud and paste the key into the field. Also set the administrator login, for example TestGramax.
Click Create VM.