Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  1. Create virtual machine in the yandex cloud
  • Платформа Intel Ice Lake
  • Гарантированная доля vCPU 100%
  • vCPU 2
  • RAM 4 ГБ
  • Объём дискового пространства 500 ГБ
  1. Install docker https://docs.docker.com/engine/install/ubuntu/

  2. Install nginx https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-20-04

  3. Copy ./init-db folder and ./docker-compose.yml to ~/projects/virto_lab

  4. Run docker-compose

  5. Change admin password

  6. Copy ./admin.ecom-lab-nsu.ru.conf and ./store.ecom-lab-nsu.ru.conf to /etc/nginx/sites-available

  7. Create simlink for ./admin.ecom-lab-nsu.ru.conf and ./store.ecom-lab-nsu.ru.conf to /etc/nginx/sites-enabled

sudo ln -s /etc/nginx/sites-available/admin.ecom-lab-nsu.ru.conf /etc/nginx/sites-enabled/admin.ecom-lab-nsu.ru.conf

sudo ln -s /etc/nginx/sites-available/store.ecom-lab-nsu.ru.conf /etc/nginx/sites-enabled/store.ecom-lab-nsu.ru.conf

  1. Enable websockets in nginx.conf https://learn.microsoft.com/en-us/aspnet/core/signalr/scale?view=aspnetcore-6.0#linux-with-nginx

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors