Налаштувати деплой на gitlab
Доброго дня!
Терміново треба полагодити деякі проблемки та нічого не поламати.
Опишу ситуацію: є гілки develop та master - вони є protected від прямого push.
Для гілки develop при злитті в цю гілку виконується Gitlab pipeline який складається з двох job: build та deploy.
1. З гілкою develop все добре, після build воно деплоїть на QA env. Але для master гілки deploy job чомусь не запускається - відповідно і на production env не депллоїться.
2. По-друге потрібно трошки змінити gitlab-ci.yml і переписати бо зараз там 2 джоби: build-client та build-server.
Так от build-client не потрібна, оскільки проект побудовано з технологією SSR то для сервера.
3. коли ми запитуємо інфу -> усі запити попадають на сервер -> якщо сервер розімує що це не запит до API, то він підключає клієнтські файли і рендерить React аппку в html і випльовує html зі скриптами на зовні.
потім клієнт коли вже отримав цю html перший раз, воно ініціалізує його як React app на клієнті і далі все спілкування з сервером йде через API
тобто така схема як nginx proxypass до якогось фолдера там де лежать всі збілджені index.html та js файлики не зовсім коректна в данному випадку.
Але в portainer є контейнер client на який поінтиться traefik. Тобто якщо його зупинити - сайт не грузиться, хоча мав би попадати в контейнер server. Тобто треба підшаманить portainer та traefik конфіги.
4. потрібно також налаштувати видалення unused образів з portainer бо з часом вони забивають простір і їх вручну доводиться видаляти
5. Ну і на завершення підготувати документ з описом усіх частин системи, логінів паролів і як ці паролі змінити.
2, 3 пункти вже зробив
Current freelance projects in the category System & Network Administration
Server setupThe situation is as follows. I have a closed group of 15 people. From all over the CIS. We rent a server through ikoula, on which Windows Server is installed. We connect via remote access and use the server to work with software. For some reason, our server has been blocked… System & Network Administration, Software & Server Configuration ∙ 55 minutes back ∙ 10 proposals |
Connection of professional book scanners.Connect professional book scanners (2 units) at 2 locations in Kyiv. Perform assembly according to the instructions, connection, and software setup including test scanning to a file from the program on the PC. System & Network Administration ∙ 16 hours 49 minutes back ∙ 1 proposal |
Need a 1C specialist (Trade Management)
23 USD
Need a 1C specialist (Trade Management) We are looking for an experienced 1C programmer for a small integration project. We have an online store and a 1C UT configuration. It is necessary to set up data exchange between the website and 1C — so that the website can receive… System & Network Administration, Web Programming ∙ 2 days 6 hours back ∙ 15 proposals |
Comprehensive check and protection of the office server + email setup
90 USD
A specialist is needed for a comprehensive check and adjustment of the server infrastructure in the office. Currently, several virtual machines on Ubuntu are running through Proxmox, with the main database and virtual machines for Laravel websites. There were previous issues… System & Network Administration, Software & Server Configuration ∙ 5 days 19 hours back ∙ 14 proposals |
Set up remote drives on hetzner.comThere is a strong desire to use hetzner.com as a remote server for file storage and the ability to work with them from various PCs and mobile devices. Help is needed in setting this up and a brief tutorial for a beginner user on how to configure everything directly on the users'… System & Network Administration, Software & Server Configuration ∙ 5 days 22 hours back ∙ 17 proposals |
