{"id":85646,"date":"2020-06-18T01:42:15","date_gmt":"2020-06-17T23:42:15","guid":{"rendered":"https:\/\/prohoster.info\/blog\/administrirovanie\/ci-cd-v-github-actions-dlya-proekta-na-flask-angular"},"modified":"2020-06-18T01:42:15","modified_gmt":"2020-06-17T23:42:15","slug":"ci-cd-v-github-actions-dlya-proekta-na-flask-angular","status":"publish","type":"post","link":"https:\/\/prohoster.info\/kk\/blog\/administrirovanie\/ci-cd-v-github-actions-dlya-proekta-na-flask-angular","title":{"rendered":"Flask+Angular \u0436\u043e\u0431\u0430\u0441\u044b\u043d\u0430 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d Github Actions \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435\u0433\u0456 CI\/CD","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><img decoding=\"async\" alt=\"Flask+Angular \u0436\u043e\u0431\u0430\u0441\u044b\u043d\u0430 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d Github Actions \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435\u0433\u0456 CI\/CD\" src=\"\/wp-content\/uploads\/2020\/06\/26d0945a41bbf3c98fa92f15be5b8c6c.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n\u0411\u04b1\u043b \u043c\u0430\u049b\u0430\u043b\u0430\u0434\u0430 Plesk \u0431\u0430\u0441\u049b\u0430\u0440\u0443 \u043f\u0430\u043d\u0435\u043b\u0456 \u043c\u0435\u043d Github Actions \u043a\u04e9\u043c\u0435\u0433\u0456\u043c\u0435\u043d CI\/CD \u0436\u04af\u0439\u0435\u0441\u0456\u043d \u0431\u0430\u043f\u0442\u0430\u0443 \u0442\u04d9\u0436\u0456\u0440\u0438\u0431\u0435\u043c\u043c\u0435\u043d \u0431\u04e9\u043b\u0456\u0441\u0435\u043c\u0456\u043d. \u0411\u04af\u0433\u0456\u043d \u00abHelloworld\u00bb \u0434\u0435\u043f \u0430\u0442\u0430\u043b\u0430\u0442\u044b\u043d \u049b\u0430\u0440\u0430\u043f\u0430\u0439\u044b\u043c \u0436\u043e\u0431\u0430\u043d\u044b \u0441\u0435\u0440\u0432\u0435\u0440\u0433\u0435 \u043e\u0440\u043d\u0430\u043b\u0430\u0441\u0442\u044b\u0440\u0443\u0434\u044b \u04af\u0439\u0440\u0435\u043d\u0435\u043c\u0456\u0437. \u0416\u043e\u0431\u0430 Python-\u043d\u044b\u04a3 Flask \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0456\u043d\u0434\u0435 \u0436\u0430\u0437\u044b\u043b\u0493\u0430\u043d, Celery \u0432\u043e\u0440\u043a\u0435\u0440\u043b\u0435\u0440\u0456 \u043c\u0435\u043d Angular 8 \u043d\u0435\u0433\u0456\u0437\u0456\u043d\u0434\u0435\u0433\u0456 \u0444\u0440\u043e\u043d\u0442\u0435\u043d\u0434\u0456 \u0431\u0430\u0440.<\/p>\n<p><b>\u0420\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439\u043b\u0435\u0440\u0433\u0435 \u0441\u0456\u043b\u0442\u0435\u043c\u0435\u043b\u0435\u0440:<\/b> <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/olegborzov\/helloworld_back\">\u0431\u044d\u043a\u0435\u043d\u0434<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/olegborzov\/helloworld-front\">\u0444\u0440\u043e\u043d\u0442\u0435\u043d\u0434<\/a><\/noindex>.<\/p>\n<p>\u041c\u0430\u049b\u0430\u043b\u0430\u043d\u044b\u04a3 \u0431\u0456\u0440\u0456\u043d\u0448\u0456 \u0431\u04e9\u043b\u0456\u043c\u0456\u043d\u0434\u0435 \u0436\u043e\u0431\u0430\u043c\u044b\u0437 \u0431\u0435\u043d \u043e\u043d\u044b\u04a3 \u049b\u04b1\u0440\u0430\u043c\u0434\u0430\u0441\u0442\u0430\u0440\u044b\u043d \u049b\u0430\u0440\u0430\u0441\u0442\u044b\u0440\u0430\u043c\u044b\u0437. \u0415\u043a\u0456\u043d\u0448\u0456 \u0431\u04e9\u043b\u0456\u043c\u0434\u0435 Plesk-\u0442\u0456 \u0431\u0430\u043f\u0442\u0430\u043f, \u049b\u0430\u0436\u0435\u0442\u0442\u0456 \u043a\u0435\u04a3\u0435\u0439\u0442\u0456\u043c\u0434\u0435\u0440 \u043c\u0435\u043d \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0442\u0435\u0440\u0434\u0456 (\u0414\u049a, RabbitMQ, Redis, Docker \u0436\u04d9\u043d\u0435 \u0442.\u0431.) \u043e\u0440\u043d\u0430\u0442\u0443\u0434\u044b \u0442\u0430\u043b\u049b\u044b\u043b\u0430\u0439\u043c\u044b\u0437.<\/p>\n<p>\u04ae\u0448\u0456\u043d\u0448\u0456 \u0431\u04e9\u043b\u0456\u043c\u0434\u0435 \u0436\u043e\u0431\u0430\u043d\u044b \u0441\u0435\u0440\u0432\u0435\u0440\u0434\u0435\u0433\u0456 dev \u0436\u04d9\u043d\u0435 prod \u043e\u0440\u0442\u0430\u043b\u0430\u0440\u044b\u043d\u0434\u0430 \u043e\u0440\u043d\u0430\u043b\u0430\u0441\u0442\u044b\u0440\u0443\u0493\u0430 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d\u0434\u044b \u0431\u0430\u043f\u0442\u0430\u0439\u043c\u044b\u0437. \u0421\u043e\u0434\u0430\u043d \u043a\u0435\u0439\u0456\u043d \u0441\u0430\u0439\u0442\u0442\u044b \u0441\u0435\u0440\u0432\u0435\u0440\u0434\u0435 \u0456\u0441\u043a\u0435 \u049b\u043e\u0441\u0430\u043c\u044b\u0437.<\/p>\n<p>\u0410\u0439\u0442\u043f\u0430\u049b\u0448\u044b, \u04e9\u0437\u0456\u043c\u0434\u0456 \u0442\u0430\u043d\u044b\u0441\u0442\u044b\u0440\u0443\u0434\u044b \u04b1\u043c\u044b\u0442\u044b\u043f \u043a\u0435\u0442\u0456\u043f\u043f\u0456\u043d. \u041c\u0435\u043d\u0456\u04a3 \u0430\u0442\u044b\u043c \u2014 \u041e\u043b\u0435\u0433 \u0411\u043e\u0440\u0437\u043e\u0432. \u0414\u043e\u043c\u043a\u043b\u0438\u043a\u0442\u0435\u0433\u0456 \u0438\u043f\u043e\u0442\u0435\u043a\u0430\u043b\u044b\u049b \u043a\u0440\u0435\u0434\u0438\u0442\u0442\u0435\u0443 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u043b\u0435\u0440\u0456\u043d\u0435 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d CRM \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u0441\u044b\u043d\u0434\u0430 fullstack \u04d9\u0437\u0456\u0440\u043b\u0435\u0443\u0448\u0456 \u0431\u043e\u043b\u044b\u043f \u0436\u04b1\u043c\u044b\u0441 \u0456\u0441\u0442\u0435\u0439\u043c\u0456\u043d. <br \/>\n<noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><\/p>\n<h1>\u0416\u043e\u0431\u0430\u0493\u0430 \u0448\u043e\u043b\u0443<\/h1>\n<p>\n\u0410\u043b\u0434\u044b\u043c\u0435\u043d \u0436\u043e\u0431\u0430\u043d\u044b\u04a3 backend \u043f\u0435\u043d frontend-\u043a\u0435 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d \u0435\u043a\u0456 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439\u0456\u043d \u049b\u0430\u0440\u0430\u043f, \u043a\u043e\u0434\u044b\u043c\u0435\u043d \u0442\u0430\u043d\u044b\u0441\u0430\u0439\u044b\u049b.<\/p>\n<h2>Backend \u0431\u04e9\u043b\u0456\u0433\u0456: Flask+Celery<\/h2>\n<p>\nBackend \u0431\u04e9\u043b\u0456\u0433\u0456 \u04af\u0448\u0456\u043d Python \u04d9\u0437\u0456\u0440\u043b\u0435\u0443\u0448\u0456\u043b\u0435\u0440\u0456 \u0430\u0440\u0430\u0441\u044b\u043d\u0434\u0430 \u043a\u0435\u04a3 \u0442\u0430\u0440\u0430\u0493\u0430\u043d Flask (API \u04af\u0448\u0456\u043d) \u0436\u04d9\u043d\u0435 Celery (\u0442\u0430\u043f\u0441\u044b\u0440\u043c\u0430\u043b\u0430\u0440 \u043a\u0435\u0437\u0435\u0433\u0456 \u04af\u0448\u0456\u043d) \u049b\u04b1\u0440\u0430\u043b\u0434\u0430\u0440\u044b\u043d \u0442\u0430\u04a3\u0434\u0430\u0434\u044b\u043c. ORM \u0440\u0435\u0442\u0456\u043d\u0434\u0435 SQLAlchemy \u049b\u043e\u043b\u0434\u0430\u043d\u044b\u043b\u0430\u0434\u044b. \u041c\u0438\u0433\u0440\u0430\u0446\u0438\u044f\u043b\u0430\u0440\u0434\u044b Alembic \u043e\u0440\u044b\u043d\u0434\u0430\u0439\u0434\u044b. Endpoint-\u0442\u0435\u0440\u0434\u0435\u0433\u0456 JSON \u0434\u0435\u0440\u0435\u043a\u0442\u0435\u0440\u0456\u043d \u0442\u0435\u043a\u0441\u0435\u0440\u0443 \u04af\u0448\u0456\u043d Marshmallow \u043f\u0430\u0439\u0434\u0430\u043b\u0430\u043d\u044b\u043b\u0430\u0434\u044b.<\/p>\n<p>\u0416\u0430\u04a3\u0430 <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/olegborzov\/helloworld_back\">\u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439\u0434\u0435<\/a><\/noindex> \u0416\u043e\u0431\u0430\u043d\u044b\u04a3 \u049b\u04b1\u0440\u044b\u043b\u044b\u043c\u044b \u0435\u0433\u0436\u0435\u0439-\u0442\u0435\u0433\u0436\u0435\u0439\u043b\u0456 \u0441\u0438\u043f\u0430\u0442\u0442\u0430\u043b\u0493\u0430\u043d \u0436\u04d9\u043d\u0435 \u043e\u043d\u044b \u0456\u0441\u043a\u0435 \u049b\u043e\u0441\u0443 \u043d\u04b1\u0441\u049b\u0430\u0443\u043b\u0430\u0440\u044b \u0431\u0435\u0440\u0456\u043b\u0433\u0435\u043d Readme.md \u0444\u0430\u0439\u043b\u044b \u0431\u0430\u0440.<\/p>\n<p><noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/olegborzov\/helloworld_back\/tree\/master\/app_web\">\u0412\u0435\u0431-\u0431\u04e9\u043b\u0456\u043a\u0442\u0456\u04a3 API-\u0456<\/a><\/noindex> \u049b\u0430\u0440\u0430\u043f\u0430\u0439\u044b\u043c, 6 endpoint-\u0442\u0435\u043d \u0442\u04b1\u0440\u0430\u0434\u044b:<\/p>\n<ul>\n<li><code>\/ping<\/code> \u2014 \u049b\u043e\u043b\u0436\u0435\u0442\u0456\u043c\u0434\u0456\u043b\u0456\u043a\u0442\u0456 \u0442\u0435\u043a\u0441\u0435\u0440\u0443\u0433\u0435 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d;<\/li>\n<li>\u2014 \u0442\u0456\u0440\u043a\u0435\u043b\u0443, \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044f\u0434\u0430\u043d \u04e9\u0442\u0443, \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044f\u0434\u0430\u043d \u0448\u044b\u0493\u0443 \u0436\u04d9\u043d\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044f\u043b\u0430\u043d\u0493\u0430\u043d \u043f\u0430\u0439\u0434\u0430\u043b\u0430\u043d\u0443\u0448\u044b\u043d\u044b \u0430\u043b\u0443 endpoint-\u0442\u0435\u0440\u0456;<\/li>\n<li>\u2014 Celery \u043a\u0435\u0437\u0435\u0433\u0456\u043d\u0435 \u0442\u0430\u043f\u0441\u044b\u0440\u043c\u0430 \u049b\u043e\u0441\u0430\u0442\u044b\u043d email \u0436\u0456\u0431\u0435\u0440\u0443 endpoint-\u0456.<\/li>\n<\/ul>\n<p>\n<noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/olegborzov\/helloworld_back\/tree\/master\/app_celery\">Celery \u0431\u04e9\u043b\u0456\u0433\u0456<\/a><\/noindex> \u041c\u04b1\u043d\u0434\u0430 \u0431\u04d9\u0440\u0456 \u043e\u0434\u0430\u043d \u0434\u0430 \u043e\u04a3\u0430\u0439: \u0431\u0456\u0440 \u0493\u0430\u043d\u0430 \u0442\u0430\u043f\u0441\u044b\u0440\u043c\u0430 \u0431\u0430\u0440 <code>send_mail_task<\/code>.<\/p>\n<p>\u049a\u0430\u043b\u0442\u0430\u0434\u0430 <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/olegborzov\/helloworld_back\/tree\/master\/conf\/\">\/conf<\/a><\/noindex> \u0435\u043a\u0456 \u0456\u0448\u043a\u0456 \u0431\u0443\u043c\u0430 \u0431\u0430\u0440: <\/p>\n<ul>\n<li><code>docker<\/code> \u0435\u043a\u0456 Docker \u0444\u0430\u0439\u043b\u044b \u0431\u0430\u0440 (<code>base.dockerfile<\/code> \u0441\u0438\u0440\u0435\u043a \u04e9\u0437\u0433\u0435\u0440\u0435\u0442\u0456\u043d \u0431\u0430\u0437\u0430\u043b\u044b\u049b image \u049b\u04b1\u0440\u0430\u0441\u0442\u044b\u0440\u0443\u0493\u0430 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d \u0436\u04d9\u043d\u0435 <code>Dockerfile<\/code> \u043d\u0435\u0433\u0456\u0437\u0433\u0456 \u049b\u04b1\u0440\u0430\u0441\u0442\u044b\u0440\u0443\u043b\u0430\u0440\u0493\u0430 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d);<\/li>\n<li><code>.env_files<\/code> \u2014 \u04d9\u0440\u0442\u04af\u0440\u043b\u0456 \u043e\u0440\u0442\u0430\u043b\u0430\u0440\u0493\u0430 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d environment variable \u0444\u0430\u0439\u043b\u0434\u0430\u0440\u044b \u0431\u0430\u0440. <\/li>\n<\/ul>\n<p>\n\u0416\u043e\u0431\u0430 \u0442\u04af\u0431\u0456\u0440\u0456\u043d\u0434\u0435 \u0442\u04e9\u0440\u0442 docker-compose \u0444\u0430\u0439\u043b\u044b \u043e\u0440\u043d\u0430\u043b\u0430\u0441\u049b\u0430\u043d:<\/p>\n<ul>\n<li><code>docker-compose.local.db.yml<\/code> \u2014 \u04d9\u0437\u0456\u0440\u043b\u0435\u0443\u0433\u0435 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d \u0436\u0435\u0440\u0433\u0456\u043b\u0456\u043a\u0442\u0456 \u0414\u049a-\u043d\u044b \u0456\u0441\u043a\u0435 \u049b\u043e\u0441\u0443 \u04af\u0448\u0456\u043d;<\/li>\n<li><code>docker-compose.local.workers.yml<\/code> \u2014 worker-\u0434\u0456, \u0414\u049a-\u043d\u044b, Redis \u043f\u0435\u043d RabbitMQ-\u043d\u044b \u0436\u0435\u0440\u0433\u0456\u043b\u0456\u043a\u0442\u0456 \u0456\u0441\u043a\u0435 \u049b\u043e\u0441\u0443 \u04af\u0448\u0456\u043d;<\/li>\n<li><code>docker-compose.test.yml<\/code> \u2014 \u043e\u0440\u043d\u0430\u043b\u0430\u0441\u0442\u044b\u0440\u0443 \u043a\u0435\u0437\u0456\u043d\u0434\u0435 \u0442\u0435\u0441\u0442\u0442\u0435\u0440\u0434\u0456 \u043e\u0440\u044b\u043d\u0434\u0430\u0443 \u04af\u0448\u0456\u043d;<\/li>\n<li><code>docker-compose.yml<\/code> \u2014 \u0434\u0435\u043f\u043b\u043e\u0439 \u04af\u0448\u0456\u043d.<\/li>\n<\/ul>\n<p>\n\u0411\u0456\u0437\u0433\u0435 \u049b\u044b\u0437\u044b\u049b \u0441\u043e\u04a3\u0493\u044b \u0431\u0443\u043c\u0430 \u2014 <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/olegborzov\/helloworld_back\/tree\/master\/.ci-cd\">.ci-cd<\/a><\/noindex>. \u041e\u043d\u0434\u0430 \u043e\u0440\u043d\u0430\u043b\u0430\u0441\u0442\u044b\u0440\u0443\u0493\u0430 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d shell-\u0441\u043a\u0440\u0438\u043f\u0442\u0442\u0435\u0440 \u0431\u0430\u0440:<\/p>\n<ul>\n<li><code>deploy.sh<\/code> \u2014 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u044f\u043d\u044b \u043e\u0440\u044b\u043d\u0434\u0430\u0443 \u0436\u04d9\u043d\u0435 \u0436\u043e\u0431\u0430\u043d\u044b \u043e\u0440\u043d\u0430\u043b\u0430\u0441\u0442\u044b\u0440\u0443. GitHub Actions-\u0442\u0430 \u049b\u04b1\u0440\u0430\u0441\u0442\u044b\u0440\u0443 \u043c\u0435\u043d \u0442\u0435\u0441\u0442\u0442\u0435\u0440 \u0430\u044f\u049b\u0442\u0430\u043b\u0493\u0430\u043d\u043d\u0430\u043d \u043a\u0435\u0439\u0456\u043d \u0441\u0435\u0440\u0432\u0435\u0440\u0434\u0435 \u0456\u0441\u043a\u0435 \u049b\u043e\u0441\u044b\u043b\u0430\u0434\u044b;<\/li>\n<li><code>rollback.sh<\/code> \u2014 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043b\u0435\u0440\u0434\u0456 \u049b\u04b1\u0440\u0430\u0441\u0442\u044b\u0440\u0443\u0434\u044b\u04a3 \u0430\u043b\u0434\u044b\u04a3\u0493\u044b \u043d\u04b1\u0441\u049b\u0430\u0441\u044b\u043d\u0430 \u049b\u0430\u0439\u0442\u0430\u0440\u0443;<\/li>\n<li><code>curl_tg.sh<\/code> \u2014 \u043e\u0440\u043d\u0430\u043b\u0430\u0441\u0442\u044b\u0440\u0443 \u0442\u0443\u0440\u0430\u043b\u044b \u0445\u0430\u0431\u0430\u0440\u043b\u0430\u043d\u0434\u044b\u0440\u0443\u043b\u0430\u0440\u0434\u044b Telegram-\u0493\u0430 \u0436\u0456\u0431\u0435\u0440\u0443.<\/li>\n<\/ul>\n<p><\/p>\n<h2>Angular \u043d\u0435\u0433\u0456\u0437\u0456\u043d\u0434\u0435\u0433\u0456 \u0444\u0440\u043e\u043d\u0442\u0435\u043d\u0434<\/h2>\n<p>\n<noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/olegborzov\/helloworld-front\">\u0424\u0440\u043e\u043d\u0442\u0435\u043d\u0434 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439\u0456<\/a><\/noindex> \u0411\u044d\u043a\u0435\u043d\u0434 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439\u0456\u043d\u0435\u043d \u04d9\u043b\u0434\u0435\u049b\u0430\u0439\u0434\u0430 \u049b\u0430\u0440\u0430\u043f\u0430\u0439\u044b\u043c. \u0424\u0440\u043e\u043d\u0442\u0435\u043d\u0434 \u04af\u0448 \u0431\u0435\u0442\u0442\u0435\u043d \u0442\u04b1\u0440\u0430\u0434\u044b:<\/p>\n<ul>\n<li>Email \u0436\u0456\u0431\u0435\u0440\u0443 \u043f\u0456\u0448\u0456\u043d\u0456 \u043c\u0435\u043d \u0448\u044b\u0493\u0443 \u0442\u04af\u0439\u043c\u0435\u0441\u0456 \u0431\u0430\u0440 \u0431\u0430\u0441\u0442\u044b \u0431\u0435\u0442.<\/li>\n<li>\u041a\u0456\u0440\u0443 \u0431\u0435\u0442\u0456.<\/li>\n<li>\u0422\u0456\u0440\u043a\u0435\u043b\u0443 \u0431\u0435\u0442\u0456.<\/li>\n<\/ul>\n<p>\n\u0411\u0430\u0441\u0442\u044b \u0431\u0435\u0442 \u04e9\u0442\u0435 \u049b\u0430\u0440\u0430\u043f\u0430\u0439\u044b\u043c \u043a\u04e9\u0440\u0456\u043d\u0435\u0434\u0456:<\/p>\n<p><img decoding=\"async\" alt=\"Flask+Angular \u0436\u043e\u0431\u0430\u0441\u044b\u043d\u0430 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d Github Actions \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435\u0433\u0456 CI\/CD\" src=\"\/wp-content\/uploads\/2020\/06\/4db36add2c4277397724b0d71b96ff06.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n\u0422\u04af\u0431\u0456\u0440\u043b\u0456\u043a \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0442\u0430 \u0435\u043a\u0456 \u0444\u0430\u0439\u043b \u0431\u0430\u0440 <code>Dockerfile<\/code> \u0436\u04d9\u043d\u0435 <code>docker-compose.yml<\/code>, \u0441\u043e\u043d\u0434\u0430\u0439-\u0430\u049b \u0431\u0456\u0437\u0433\u0435 \u0442\u0430\u043d\u044b\u0441 \u0431\u0443\u043c\u0430 <code>.ci-cd<\/code> \u0431\u044d\u043a\u0435\u043d\u0434 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439\u0456\u043d\u0435 \u049b\u0430\u0440\u0430\u0493\u0430\u043d\u0434\u0430 \u0441\u043a\u0440\u0438\u043f\u0442\u0442\u0435\u0440\u0456 \u0430\u0437\u0434\u0430\u0443 (\u0442\u0435\u0441\u0442\u0442\u0435\u0440\u0434\u0456 \u0456\u0441\u043a\u0435 \u049b\u043e\u0441\u0443 \u0441\u043a\u0440\u0438\u043f\u0442\u0442\u0435\u0440\u0456 \u0430\u043b\u044b\u043d\u044b\u043f \u0442\u0430\u0441\u0442\u0430\u043b\u0493\u0430\u043d).<\/p>\n<h1>Plesk \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435 \u0436\u043e\u0431\u0430 \u049b\u04b1\u0440\u0430\u043c\u044b\u0437<\/h1>\n<p>\n\u0410\u043b\u0434\u044b\u043c\u0435\u043d Plesk \u0431\u0430\u043f\u0442\u0430\u043f, \u0441\u0430\u0439\u0442\u044b\u043c\u044b\u0437\u0493\u0430 \u0436\u0430\u0437\u044b\u043b\u044b\u043c \u0436\u0430\u0441\u0430\u0439\u044b\u049b.<\/p>\n<h2>\u041a\u0435\u04a3\u0435\u0439\u0442\u0456\u043c\u0434\u0435\u0440\u0434\u0456 \u043e\u0440\u043d\u0430\u0442\u0443<\/h2>\n<p>\nPlesk \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435 \u0431\u0456\u0437\u0433\u0435 \u0442\u04e9\u0440\u0442 \u043a\u0435\u04a3\u0435\u0439\u0442\u0456\u043c \u049b\u0430\u0436\u0435\u0442: <\/p>\n<ul>\n<li><code>Docker<\/code> Plesk \u04d9\u043a\u0456\u043c\u0448\u0456\u043b\u0456\u043a \u043f\u0430\u043d\u0435\u043b\u0456\u043d\u0434\u0435 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043b\u0435\u0440\u0434\u0456 \u0431\u0430\u0441\u049b\u0430\u0440\u0443 \u0436\u04d9\u043d\u0435 \u043e\u043b\u0430\u0440\u0434\u044b\u04a3 \u043a\u04af\u0439\u0456\u043d \u043a\u04e9\u0440\u043d\u0435\u043a\u0456 \u0442\u04af\u0440\u0434\u0435 \u043a\u04e9\u0440\u0441\u0435\u0442\u0443 \u04af\u0448\u0456\u043d;<\/li>\n<li><code>Git<\/code> \u0441\u0435\u0440\u0432\u0435\u0440\u0434\u0435 \u043e\u0440\u043d\u0430\u043b\u0430\u0441\u0442\u044b\u0440\u0443 \u043a\u0435\u0437\u0435\u04a3\u0456\u043d \u0431\u0430\u043f\u0442\u0430\u0443 \u04af\u0448\u0456\u043d;<\/li>\n<li><code>Let's Encrypt<\/code> \u0442\u0435\u0433\u0456\u043d TLS \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0442\u0430\u0440\u044b\u043d \u0436\u0430\u0441\u0430\u0443 (\u0436\u04d9\u043d\u0435 \u043c\u0435\u0440\u0437\u0456\u043c\u0456 \u0430\u044f\u049b\u0442\u0430\u043b\u043c\u0430\u0439 \u0442\u04b1\u0440\u044b\u043f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0442\u044b \u0442\u04af\u0440\u0434\u0435 \u0436\u0430\u04a3\u0430\u0440\u0442\u0443) \u04af\u0448\u0456\u043d;<\/li>\n<li><code>Firewall<\/code> \u043a\u0456\u0440\u0456\u0441 \u0442\u0440\u0430\u0444\u0438\u0433\u0456\u043d \u0441\u04af\u0437\u0443\u0434\u0456 \u0431\u0430\u043f\u0442\u0430\u0443 \u04af\u0448\u0456\u043d.<\/li>\n<\/ul>\n<p>\n\u041e\u043b\u0430\u0440\u0434\u044b Plesk \u04d9\u043a\u0456\u043c\u0448\u0456\u043b\u0456\u043a \u043f\u0430\u043d\u0435\u043b\u0456\u043d\u0434\u0435\u0433\u0456 Extensions \u0431\u04e9\u043b\u0456\u043c\u0456\u043d\u0435\u043d \u043e\u0440\u043d\u0430\u0442\u0443\u0493\u0430 \u0431\u043e\u043b\u0430\u0434\u044b:<\/p>\n<p><img decoding=\"async\" alt=\"Flask+Angular \u0436\u043e\u0431\u0430\u0441\u044b\u043d\u0430 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d Github Actions \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435\u0433\u0456 CI\/CD\" src=\"\/wp-content\/uploads\/2020\/06\/350cf7d7ca3ae1a965a0d3f8a73594ef.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n\u041a\u0435\u04a3\u0435\u0439\u0442\u0456\u043c\u0434\u0435\u0440\u0434\u0456 \u0435\u0433\u0436\u0435\u0439-\u0442\u0435\u0433\u0436\u0435\u0439\u043b\u0456 \u0431\u0430\u043f\u0442\u0430\u0443\u0434\u044b \u049b\u0430\u0440\u0430\u0441\u0442\u044b\u0440\u043c\u0430\u0439\u043c\u044b\u0437: \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u044f\u043b\u044b\u049b \u043c\u0430\u049b\u0441\u0430\u0442\u0442\u0430\u0440\u044b\u043c\u044b\u0437\u0493\u0430 \u04d9\u0434\u0435\u043f\u043a\u0456 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043b\u0435\u0440 \u0436\u0435\u0442\u043a\u0456\u043b\u0456\u043a\u0442\u0456.<\/p>\n<h2>\u0416\u0430\u0437\u044b\u043b\u044b\u043c \u043c\u0435\u043d \u0441\u0430\u0439\u0442 \u0436\u0430\u0441\u0430\u0443<\/h2>\n<p>\n\u0415\u043d\u0434\u0456 helloworld.ru \u0441\u0430\u0439\u0442\u044b\u043c\u044b\u0437\u0493\u0430 \u0436\u0430\u0437\u044b\u043b\u044b\u043c \u0436\u0430\u0441\u0430\u043f, \u043e\u0493\u0430\u043d dev.helloworld.ru \u049b\u043e\u0441\u0430\u043b\u049b\u044b \u0434\u043e\u043c\u0435\u043d\u0456\u043d \u049b\u043e\u0441\u0443 \u043a\u0435\u0440\u0435\u043a.<\/p>\n<ol>\n<li>helloworld.ru \u0434\u043e\u043c\u0435\u043d\u0456\u043d\u0435 \u0436\u0430\u0437\u044b\u043b\u044b\u043c \u0436\u0430\u0441\u0430\u043f, \u0436\u04af\u0439\u0435\u043b\u0456\u043a \u043f\u0430\u0439\u0434\u0430\u043b\u0430\u043d\u0443\u0448\u044b\u043d\u044b\u04a3 \u043b\u043e\u0433\u0438\u043d\u0456 \u043c\u0435\u043d \u049b\u04b1\u043f\u0438\u044f\u0441\u04e9\u0437\u0456\u043d \u043a\u04e9\u0440\u0441\u0435\u0442\u0435\u043c\u0456\u0437:\n<p><img decoding=\"async\" alt=\"Flask+Angular \u0436\u043e\u0431\u0430\u0441\u044b\u043d\u0430 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d Github Actions \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435\u0433\u0456 CI\/CD\" src=\"\/wp-content\/uploads\/2020\/06\/3932dc7492aa523b6cbd540ad7a7fe6b.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n\u0411\u0435\u0442\u0442\u0456\u04a3 \u0442\u04e9\u043c\u0435\u043d\u0433\u0456 \u0436\u0430\u0493\u044b\u043d\u0434\u0430 \u043c\u044b\u043d\u0430 \u049b\u04b1\u0441\u0431\u0435\u043b\u0433\u0456\u043d\u0456 \u049b\u043e\u044f\u043c\u044b\u0437 <i>Let's Encrypt \u0430\u0440\u049b\u044b\u043b\u044b \u0434\u043e\u043c\u0435\u043d\u0434\u0456 \u049b\u043e\u0440\u0493\u0430\u04a3\u044b\u0437<\/i>, \u0435\u0433\u0435\u0440 \u0441\u0430\u0439\u0442\u049b\u0430 HTTPS \u043e\u0440\u043d\u0430\u0442\u049b\u044b\u043c\u044b\u0437 \u043a\u0435\u043b\u0441\u0435:<\/p>\n<p><img decoding=\"async\" alt=\"Flask+Angular \u0436\u043e\u0431\u0430\u0441\u044b\u043d\u0430 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d Github Actions \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435\u0433\u0456 CI\/CD\" src=\"\/wp-content\/uploads\/2020\/06\/f4d23a34764fdeb411fe2ca9cc95cb45.png\" style=\"display:block;margin: 0 auto;\" \/><\/li>\n<li>\u041e\u0441\u044b \u0436\u0430\u0437\u044b\u043b\u044b\u043c\u0434\u0430 dev.helloworld.ru \u049b\u043e\u0441\u0430\u043b\u049b\u044b \u0434\u043e\u043c\u0435\u043d\u0456\u043d \u0436\u0430\u0441\u0430\u0439\u043c\u044b\u0437 (\u043e\u0493\u0430\u043d \u0434\u0430 \u0442\u0435\u0433\u0456\u043d TLS \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u044b\u043d \u0448\u044b\u0493\u0430\u0440\u0443\u0493\u0430 \u0431\u043e\u043b\u0430\u0434\u044b):\n<p><img decoding=\"async\" alt=\"Flask+Angular \u0436\u043e\u0431\u0430\u0441\u044b\u043d\u0430 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d Github Actions \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435\u0433\u0456 CI\/CD\" src=\"\/wp-content\/uploads\/2020\/06\/d57e6ba71454cb537917400de4275e92.png\" style=\"display:block;margin: 0 auto;\" \/><\/li>\n<\/ol>\n<p><\/p>\n<h1>\u0421\u0435\u0440\u0432\u0435\u0440 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0442\u0435\u0440\u0456\u043d \u043e\u0440\u043d\u0430\u0442\u0443<\/h1>\n<p>\n\u0411\u0456\u0437\u0434\u0435 <i>Debian Stretch 9.12 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f\u043b\u044b\u049b \u0436\u04af\u0439\u0435\u0441\u0456<\/i> \u0436\u04d9\u043d\u0435 \u043e\u0440\u043d\u0430\u0442\u044b\u043b\u0493\u0430\u043d <i>Plesk Obsidian 18.0.27 \u0431\u0430\u0441\u049b\u0430\u0440\u0443 \u043f\u0430\u043d\u0435\u043b\u0456 \u0431\u0430\u0440 \u0441\u0435\u0440\u0432\u0435\u0440 \u0431\u0430\u0440.<\/i>.<\/p>\n<p>\u0416\u043e\u0431\u0430\u043c\u044b\u0437 \u04af\u0448\u0456\u043d \u043c\u044b\u043d\u0430 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0442\u0435\u0440\u0434\u0456 \u043e\u0440\u043d\u0430\u0442\u044b\u043f, \u0431\u0430\u043f\u0442\u0430\u0443\u044b\u043c\u044b\u0437 \u043a\u0435\u0440\u0435\u043a:<\/p>\n<ul>\n<li>PostgreSQL (\u0431\u0456\u0437\u0434\u0456\u04a3 \u0436\u0430\u0493\u0434\u0430\u0439\u0434\u0430 dev \u0436\u04d9\u043d\u0435 prod \u043e\u0440\u0442\u0430\u0441\u044b\u043d\u0430 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d \u0435\u043a\u0456 \u0434\u0435\u0440\u0435\u043a\u049b\u043e\u0440\u044b \u0431\u0430\u0440 \u0431\u0456\u0440 \u0441\u0435\u0440\u0432\u0435\u0440 \u0431\u043e\u043b\u0430\u0434\u044b).<\/li>\n<li>RabbitMQ (\u043c\u04b1\u043d\u0434\u0430 \u0434\u0430 \u0431\u0456\u0440 \u0438\u043d\u0441\u0442\u0430\u043d\u0441, \u0431\u0456\u0440\u0430\u049b \u043e\u0440\u0442\u0430\u043b\u0430\u0440\u0493\u0430 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d \u04d9\u0440\u0442\u04af\u0440\u043b\u0456 vhost \u0431\u0430\u0440).<\/li>\n<li>\u0415\u043a\u0456 Redis \u0438\u043d\u0441\u0442\u0430\u043d\u0441\u044b (dev \u0436\u04d9\u043d\u0435 prod \u043e\u0440\u0442\u0430\u043b\u0430\u0440\u044b\u043d\u0430 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d).<\/li>\n<li>Docker Registry (\u049b\u04b1\u0440\u0430\u0441\u0442\u044b\u0440\u044b\u043b\u0493\u0430\u043d Docker \u043e\u0431\u0440\u0430\u0437\u0434\u0430\u0440\u044b\u043d \u0436\u0435\u0440\u0433\u0456\u043b\u0456\u043a\u0442\u0456 \u0441\u0430\u049b\u0442\u0430\u0443 \u04af\u0448\u0456\u043d).<\/li>\n<li>Docker registry \u0431\u0430\u0441\u049b\u0430\u0440\u0443 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0456.<\/li>\n<\/ul>\n<p><\/p>\n<h2>PostgreSQL<\/h2>\n<p>\nPlesk \u049b\u04b1\u0440\u0430\u043c\u044b\u043d\u0434\u0430 PostgreSQL \u0414\u049a\u0411\u0416 \u0431\u0430\u0440, \u0431\u0456\u0440\u0430\u049b \u043e\u043d\u044b\u04a3 \u043d\u04b1\u0441\u049b\u0430\u0441\u044b \u0435\u04a3 \u0441\u043e\u04a3\u0493\u044b \u0435\u043c\u0435\u0441 (\u043c\u0430\u049b\u0430\u043b\u0430 \u0436\u0430\u0437\u044b\u043b\u0493\u0430\u043d \u043a\u0435\u0437\u0434\u0435 Plesk Obsidian <noindex><a rel=\"nofollow\" href=\"https:\/\/docs.plesk.com\/release-notes\/obsidian\/software-requirements\/\">\u049b\u043e\u043b\u0434\u0430\u0439\u0442\u044b\u043d<\/a><\/noindex> Postgres \u043d\u04b1\u0441\u049b\u0430\u043b\u0430\u0440\u044b 8.4\u201310.8 \u0431\u043e\u043b\u0493\u0430\u043d). \u0410\u043b \u0431\u0456\u0437 \u049b\u043e\u043b\u0434\u0430\u043d\u0431\u0430\u043c\u044b\u0437\u0493\u0430 \u0435\u04a3 \u0441\u043e\u04a3\u0493\u044b \u043d\u04b1\u0441\u049b\u0430\u0441\u044b\u043d \u043e\u0440\u043d\u0430\u0442\u049b\u044b\u043c\u044b\u0437 \u043a\u0435\u043b\u0435\u0434\u0456 (\u043c\u0430\u049b\u0430\u043b\u0430 \u0436\u0430\u0437\u044b\u043b\u0493\u0430\u043d \u043a\u0435\u0437\u0434\u0435 \u2014 12.3), \u0441\u043e\u043d\u0434\u044b\u049b\u0442\u0430\u043d \u043e\u043d\u044b \u049b\u043e\u043b\u043c\u0435\u043d \u043e\u0440\u043d\u0430\u0442\u0430\u043c\u044b\u0437.<\/p>\n<p>\u0416\u0435\u043b\u0456\u0434\u0435 Debian \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0435 Postgres \u043e\u0440\u043d\u0430\u0442\u0443 \u0431\u043e\u0439\u044b\u043d\u0448\u0430 \u0435\u0433\u0436\u0435\u0439-\u0442\u0435\u0433\u0436\u0435\u0439\u043b\u0456 \u043d\u04b1\u0441\u049b\u0430\u0443\u043b\u044b\u049b\u0442\u0430\u0440 \u043a\u04e9\u043f (<noindex><a rel=\"nofollow\" href=\"https:\/\/tecadmin.net\/install-postgresql-on-debian-9-stretch\/\">\u043c\u044b\u0441\u0430\u043b\u0434\u044b<\/a><\/noindex>\u0421\u043e\u043d\u0434\u044b\u049b\u0442\u0430\u043d \u043e\u043b\u0430\u0440\u0434\u044b \u0435\u0433\u0436\u0435\u0439-\u0442\u0435\u0433\u0436\u0435\u0439\u043b\u0456 \u0441\u0438\u043f\u0430\u0442\u0442\u0430\u043c\u0430\u0439, \u0442\u0435\u043a \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u043b\u0430\u0440\u0434\u044b \u043a\u0435\u043b\u0442\u0456\u0440\u0435\u043c\u0456\u043d:<\/p>\n<pre><code class=\"bash\">wget -q https:\/\/www.postgresql.org\/media\/keys\/ACCC4CF8.asc -O - | sudo apt-key add --\nsudo sh -c 'echo &quot;deb http:\/\/apt.postgresql.org\/pub\/repos\/apt\/ stretch-pgdg main&quot; &gt;&gt; \/etc\/apt\/sources.list.d\/pgdg.list'\n\nsudo apt-get update\nsudo apt-get install postgresql postgresql-contrib\n<\/code><\/pre>\n<p>\nPostgreSQL \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435\u0433\u0456 \u04d9\u0434\u0435\u043f\u043a\u0456 \u0431\u0430\u043f\u0442\u0430\u0443\u043b\u0430\u0440\u0434\u044b\u04a3 \u043e\u043d\u0448\u0430 \u043e\u04a3\u0442\u0430\u0439\u043b\u044b \u0435\u043c\u0435\u0441 \u0435\u043a\u0435\u043d\u0456\u043d \u0435\u0441\u043a\u0435\u0440\u0441\u0435\u043a, \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f\u043d\u044b \u043c\u0456\u043d\u0434\u0435\u0442\u0442\u0456 \u0442\u04af\u0440\u0434\u0435 \u0442\u04af\u0437\u0435\u0442\u0443 \u049b\u0430\u0436\u0435\u0442. \u0411\u04b1\u043b \u0440\u0435\u0442\u0442\u0435 \u0431\u0456\u0437\u0433\u0435 <noindex><a rel=\"nofollow\" href=\"http:\/\/pgconfigurator.cybertec.at\/\">\u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440<\/a><\/noindex>\u043a\u04e9\u043c\u0435\u043a\u0442\u0435\u0441\u0435\u0434\u0456: \u0441\u0435\u0440\u0432\u0435\u0440 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043b\u0435\u0440\u0456\u043d \u0435\u043d\u0433\u0456\u0437\u0456\u043f, \u0444\u0430\u0439\u043b\u0434\u0430\u0493\u044b \u0431\u0430\u043f\u0442\u0430\u0443\u043b\u0430\u0440\u0434\u044b <code>\/etc\/postgresql\/12\/main\/postgresql.conf<\/code>\u04b1\u0441\u044b\u043d\u044b\u043b\u0493\u0430\u043d \u043c\u04d9\u043d\u0434\u0435\u0440\u0433\u0435 \u0430\u0443\u044b\u0441\u0442\u044b\u0440\u0443 \u043a\u0435\u0440\u0435\u043a. \u0414\u0435\u0433\u0435\u043d\u043c\u0435\u043d \u043c\u04b1\u043d\u0434\u0430\u0439 \u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440\u043b\u0430\u0440 \u0431\u0430\u0440\u043b\u044b\u049b \u043c\u04d9\u0441\u0435\u043b\u0435\u043d\u0456 \u0448\u0435\u0448\u0435\u0442\u0456\u043d \u04d9\u043c\u0431\u0435\u0431\u0430\u043f \u049b\u04b1\u0440\u0430\u043b \u0435\u043c\u0435\u0441 \u0435\u043a\u0435\u043d\u0456\u043d \u0435\u0441\u043a\u0435\u0440\u0433\u0435\u043d \u0436\u04e9\u043d. \u0414\u0435\u0440\u0435\u043a\u049b\u043e\u0440\u0434\u044b \u0436\u0430\u0431\u0434\u044b\u049b\u0442\u044b\u04a3 \u043c\u04af\u043c\u043a\u0456\u043d\u0434\u0456\u0433\u0456\u043d\u0435, \u049b\u043e\u043b\u0434\u0430\u043d\u0431\u0430\u0493\u0430 \u0436\u04d9\u043d\u0435 \u0441\u04b1\u0440\u0430\u0443\u043b\u0430\u0440\u0434\u044b\u04a3 \u043a\u04af\u0440\u0434\u0435\u043b\u0456\u043b\u0456\u0433\u0456\u043d\u0435 \u049b\u0430\u0440\u0430\u0439 \u0434\u04d9\u043b\u0434\u0435\u043f \u0431\u0430\u043f\u0442\u0430\u0443 \u049b\u0430\u0436\u0435\u0442. \u0410\u043b\u0493\u0430\u0448\u049b\u044b \u049b\u0430\u0434\u0430\u043c \u04af\u0448\u0456\u043d \u04b1\u0441\u044b\u043d\u044b\u043b\u0493\u0430\u043d \u0431\u0430\u043f\u0442\u0430\u0443\u043b\u0430\u0440 \u0436\u0435\u0442\u043a\u0456\u043b\u0456\u043a\u0442\u0456.<\/p>\n<p>\u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440 \u04b1\u0441\u044b\u043d\u0493\u0430\u043d \u0431\u0430\u043f\u0442\u0430\u0443\u043b\u0430\u0440\u0434\u0430\u043d \u0431\u04e9\u043b\u0435\u043a, <code>postgresql.conf<\/code>\u0444\u0430\u0439\u043b\u044b\u043d\u0434\u0430\u0493\u044b \u04d9\u0434\u0435\u043f\u043a\u0456 5432 \u043f\u043e\u0440\u0442\u044b\u043d \u0431\u0430\u0441\u049b\u0430 \u043f\u043e\u0440\u0442\u049b\u0430 \u0430\u0443\u044b\u0441\u0442\u044b\u0440\u0430\u043c\u044b\u0437 (\u0431\u0456\u0437\u0434\u0456\u04a3 \u043c\u044b\u0441\u0430\u043b\u0434\u0430 \u2014 <strong>53983<\/strong>).<\/p>\n<p>\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f \u0444\u0430\u0439\u043b\u044b\u043d \u04e9\u0437\u0433\u0435\u0440\u0442\u043a\u0435\u043d\u043d\u0435\u043d \u043a\u0435\u0439\u0456\u043d postgresql-server \u049b\u044b\u0437\u043c\u0435\u0442\u0456\u043d \u043c\u044b\u043d\u0430 \u043f\u04d9\u0440\u043c\u0435\u043d\u043c\u0435\u043d \u049b\u0430\u0439\u0442\u0430 \u0456\u0441\u043a\u0435 \u049b\u043e\u0441\u0430\u043c\u044b\u0437:<\/p>\n<pre><code class=\"bash\">service postgresql restart\n<\/code><\/pre>\n<p>\nPostgreSQL \u0436\u04af\u0439\u0435\u0441\u0456\u043d \u043e\u0440\u043d\u0430\u0442\u044b\u043f, \u0431\u0430\u043f\u0442\u0430\u0434\u044b\u049b. \u0415\u043d\u0434\u0456 \u0434\u0435\u0440\u0435\u043a\u049b\u043e\u0440\u043b\u0430\u0440 \u043c\u0435\u043d dev \u0436\u04d9\u043d\u0435 prod \u043e\u0440\u0442\u0430\u043b\u0430\u0440\u044b\u043d\u0430 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d \u043f\u0430\u0439\u0434\u0430\u043b\u0430\u043d\u0443\u0448\u044b\u043b\u0430\u0440\u0434\u044b \u049b\u04b1\u0440\u044b\u043f, \u043e\u043b\u0430\u0440\u0493\u0430 \u0434\u0435\u0440\u0435\u043a\u049b\u043e\u0440\u043b\u0430\u0440\u0434\u044b \u0431\u0430\u0441\u049b\u0430\u0440\u0443 \u049b\u04b1\u049b\u044b\u049b\u0442\u0430\u0440\u044b\u043d \u0431\u0435\u0440\u0435\u043c\u0456\u0437:<\/p>\n<pre><code class=\"bash\">$ su - postgres\npostgres:~$ create database hw_dev_db_name;\nCREATE DATABASE\npostgres:~$ create user hw_dev_db_user with password 'hw_dev_db_password';\nCREATE ROLE\npostgres:~$ grant ALL privileges ON database hw_dev_db_name to hw_dev_db_user;\nGRANT\npostgres:~$ create database hw_prod_db_name;\nCREATE DATABASE\npostgres:~$ create user hw_prod_db_user with password 'hw_prod_db_password';\nCREATE ROLE\npostgres:~$ grant ALL privileges ON database hw_prod_db_name to hw_prod_db_user;\nGRANT\n<\/code><\/pre>\n<p><\/p>\n<h2>RabbitMQ<\/h2>\n<p>\nCelery \u04af\u0448\u0456\u043d \u0445\u0430\u0431\u0430\u0440\u043b\u0430\u0440 \u0431\u0440\u043e\u043a\u0435\u0440\u0456 RabbitMQ \u0436\u04af\u0439\u0435\u0441\u0456\u043d \u043e\u0440\u043d\u0430\u0442\u0430\u0439\u044b\u049b. Debian \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435 \u043e\u043d\u044b \u043e\u0440\u043d\u0430\u0442\u0443 \u043e\u04a3\u0430\u0439:<\/p>\n<pre><code class=\"bash\">wget https:\/\/packages.erlang-solutions.com\/erlang-solutions_1.0_all.deb\nsudo dpkg -i erlang-solutions_1.0_all.deb\n\nsudo apt-get update\nsudo apt-get install erlang erlang-nox\n\nsudo add-apt-repository 'deb http:\/\/www.rabbitmq.com\/debian\/ testing main'\nwget -O- https:\/\/www.rabbitmq.com\/rabbitmq-release-signing-key.asc | sudo apt-key add -\n\nsudo apt-get update\nsudo apt-get install rabbitmq-server\n<\/code><\/pre>\n<p>\n\u041e\u0440\u043d\u0430\u0442\u049b\u0430\u043d\u043d\u0430\u043d \u043a\u0435\u0439\u0456\u043d <i>\u0432\u0438\u0440\u0442\u0443\u0430\u043b\u0434\u044b \u0445\u043e\u0441\u0442\u0442\u0430\u0440\u0434\u044b<\/i>\u0436\u04d9\u043d\u0435 \u043f\u0430\u0439\u0434\u0430\u043b\u0430\u043d\u0443\u0448\u044b\u043b\u0430\u0440\u0434\u044b \u049b\u04b1\u0440\u044b\u043f, \u043e\u043b\u0430\u0440\u0493\u0430 \u049b\u0430\u0436\u0435\u0442\u0442\u0456 \u049b\u04b1\u049b\u044b\u049b\u0442\u0430\u0440\u0434\u044b \u0431\u0435\u0440\u0443 \u043a\u0435\u0440\u0435\u043a:<\/p>\n<pre><code class=\"bash\">sudo rabbitmqctl add_user hw_dev_amqp_user hw_dev_amqp_password \nsudo rabbitmqctl set_user_tags hw_dev_amqp_user administrator\nsudo rabbitmqctl add_vhost hw_dev_vhost\nsudo rabbitmqctl set_permissions -p hw_dev_vhost hw_dev_amqp_user &quot;.*&quot; &quot;.*&quot; &quot;.*&quot;\n\nsudo rabbitmqctl add_user hw_prod_amqp_user hw_prod_amqp_password \nsudo rabbitmqctl set_user_tags hw_prod_amqp_user administrator\nsudo rabbitmqctl add_vhost hw_prod_vhost\nsudo rabbitmqctl set_permissions -p hw_prod_vhost hw_prod_amqp_user &quot;.*&quot; &quot;.*&quot; &quot;.*&quot;\n<\/code><\/pre>\n<p><\/p>\n<h2>Redis<\/h2>\n<p>\n\u0415\u043d\u0434\u0456 \u049b\u043e\u043b\u0434\u0430\u043d\u0431\u0430\u043c\u044b\u0437\u0434\u044b\u04a3 \u0441\u043e\u04a3\u0493\u044b \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0456 \u2014 Redis \u0436\u04af\u0439\u0435\u0441\u0456\u043d \u043e\u0440\u043d\u0430\u0442\u044b\u043f, \u0431\u0430\u043f\u0442\u0430\u0439\u043c\u044b\u0437. \u041e\u043b Celery \u0442\u0430\u043f\u0441\u044b\u0440\u043c\u0430\u043b\u0430\u0440\u044b\u043d\u044b\u04a3 \u043d\u04d9\u0442\u0438\u0436\u0435\u043b\u0435\u0440\u0456\u043d \u0441\u0430\u049b\u0442\u0430\u0443\u0493\u0430 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d \u0431\u044d\u043a\u0435\u043d\u0434 \u0440\u0435\u0442\u0456\u043d\u0434\u0435 \u049b\u043e\u043b\u0434\u0430\u043d\u044b\u043b\u0430\u0434\u044b.<\/p>\n<p>Docker \u043a\u0435\u04a3\u0435\u0439\u0442\u0456\u043c\u0456\u043d\u0456\u04a3 \u043a\u04e9\u043c\u0435\u0433\u0456\u043c\u0435\u043d dev \u0436\u04d9\u043d\u0435 prod \u043e\u0440\u0442\u0430\u043b\u0430\u0440\u044b\u043d\u0430 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d Redis \u0436\u04af\u0439\u0435\u0441\u0456 \u0431\u0430\u0440 \u0435\u043a\u0456 Docker \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0456\u043d \u0456\u0441\u043a\u0435 \u049b\u043e\u0441\u0430\u043c\u044b\u0437 <code>Docker<\/code> Plesk \u04af\u0448\u0456\u043d.<\/p>\n<ol>\n<li>Plesk \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0435 \u043a\u0456\u0440\u0456\u043f, \u00ab\u041a\u0435\u04a3\u0435\u0439\u0442\u0456\u043c\u0434\u0435\u0440\u00bb \u0431\u04e9\u043b\u0456\u043c\u0456\u043d\u0435 \u04e9\u0442\u0456\u04a3\u0456\u0437. Docker \u043a\u0435\u04a3\u0435\u0439\u0442\u0456\u043c\u0456\u043d \u0442\u0430\u0443\u044b\u043f, \u043e\u0440\u043d\u0430\u0442\u044b\u04a3\u044b\u0437 (\u0431\u0456\u0437\u0433\u0435 \u0442\u0435\u0433\u0456\u043d \u043d\u04b1\u0441\u049b\u0430\u0441\u044b \u049b\u0430\u0436\u0435\u0442):\n<p><img decoding=\"async\" alt=\"Flask+Angular \u0436\u043e\u0431\u0430\u0441\u044b\u043d\u0430 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d Github Actions \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435\u0433\u0456 CI\/CD\" src=\"\/wp-content\/uploads\/2020\/06\/5638f9b40274e4f7441434279c76a426.png\" style=\"display:block;margin: 0 auto;\" \/><\/li>\n<li>\u041e\u0440\u043d\u0430\u0442\u044b\u043b\u0493\u0430\u043d \u043a\u0435\u04a3\u0435\u0439\u0442\u0456\u043c\u0434\u0456 \u0430\u0448\u044b\u043f, \u0456\u0437\u0434\u0435\u0443 \u0430\u0440\u049b\u044b\u043b\u044b \u043c\u044b\u043d\u0430 \u043e\u0431\u0440\u0430\u0437\u0434\u044b \u0442\u0430\u0431\u044b\u04a3\u044b\u0437: <code>redis bitnami<\/code> \u0436\u04d9\u043d\u0435 \u0441\u043e\u04a3\u0493\u044b \u043d\u04b1\u0441\u049b\u0430\u0441\u044b\u043d \u043e\u0440\u043d\u0430\u0442\u044b\u04a3\u044b\u0437:\n<p><img decoding=\"async\" alt=\"Flask+Angular \u0436\u043e\u0431\u0430\u0441\u044b\u043d\u0430 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d Github Actions \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435\u0433\u0456 CI\/CD\" src=\"\/wp-content\/uploads\/2020\/06\/578bbbed6a66a60a4f7410f7d61ea542.png\" style=\"display:block;margin: 0 auto;\" \/><\/li>\n<li>\u0416\u04af\u043a\u0442\u0435\u043b\u0433\u0435\u043d \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0434\u0456 \u0430\u0448\u044b\u043f, \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f\u0441\u044b\u043d \u0440\u0435\u0442\u0442\u0435\u04a3\u0456\u0437: \u043f\u043e\u0440\u0442\u0442\u044b, \u0431\u04e9\u043b\u0456\u043d\u0435\u0442\u0456\u043d \u0436\u0435\u0434\u0435\u043b \u0436\u0430\u0434\u0442\u044b\u04a3 \u0435\u04a3 \u04af\u043b\u043a\u0435\u043d \u043a\u04e9\u043b\u0435\u043c\u0456\u043d \u0436\u04d9\u043d\u0435 \u049b\u04b1\u043f\u0438\u044f\u0441\u04e9\u0437\u0434\u0456 \u043e\u0440\u0442\u0430 \u0430\u0439\u043d\u044b\u043c\u0430\u043b\u044b\u043b\u0430\u0440\u044b\u043d\u0434\u0430 \u043a\u04e9\u0440\u0441\u0435\u0442\u0456\u043f, \u0442\u043e\u043c\u0434\u044b \u0442\u0456\u0440\u043a\u0435\u04a3\u0456\u0437:\n<p><img decoding=\"async\" alt=\"Flask+Angular \u0436\u043e\u0431\u0430\u0441\u044b\u043d\u0430 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d Github Actions \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435\u0433\u0456 CI\/CD\" src=\"\/wp-content\/uploads\/2020\/06\/8bc804b794735412f5e510b3049c5667.png\" style=\"display:block;margin: 0 auto;\" \/><\/li>\n<li>prod \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0456 \u04af\u0448\u0456\u043d 2\u20133-\u049b\u0430\u0434\u0430\u043c\u0434\u0430\u0440\u0434\u044b \u043e\u0440\u044b\u043d\u0434\u0430\u04a3\u044b\u0437. \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043b\u0435\u0440\u0434\u0435\u043d \u0442\u0435\u043a \u043f\u043e\u0440\u0442\u0442\u044b, \u049b\u04b1\u043f\u0438\u044f\u0441\u04e9\u0437\u0434\u0456, \u0436\u0435\u0434\u0435\u043b \u0436\u0430\u0434 \u043a\u04e9\u043b\u0435\u043c\u0456\u043d \u0436\u04d9\u043d\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0434\u0435\u0433\u0456 volume \u049b\u0430\u043b\u0442\u0430\u0441\u044b\u043d\u044b\u04a3 \u0436\u043e\u043b\u044b\u043d \u04e9\u0437\u0433\u0435\u0440\u0442\u0456\u04a3\u0456\u0437:\n<p><img decoding=\"async\" alt=\"Flask+Angular \u0436\u043e\u0431\u0430\u0441\u044b\u043d\u0430 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d Github Actions \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435\u0433\u0456 CI\/CD\" src=\"\/wp-content\/uploads\/2020\/06\/3af50181c8b3e1ace23a8de11826cb51.png\" style=\"display:block;margin: 0 auto;\" \/><\/li>\n<\/ol>\n<p><\/p>\n<h2>Docker Registry<\/h2>\n<p>\n\u041d\u0435\u0433\u0456\u0437\u0433\u0456 \u0441\u0435\u0440\u0432\u0438\u0441\u0442\u0435\u0440\u043c\u0435\u043d \u049b\u0430\u0442\u0430\u0440, \u0441\u0435\u0440\u0432\u0435\u0440\u0433\u0435 Docker \u043e\u0431\u0440\u0430\u0437\u0434\u0430\u0440\u044b\u043d\u044b\u04a3 \u0436\u0435\u043a\u0435 \u0442\u0456\u0437\u0456\u043b\u0456\u043c\u0456\u043d \u043e\u0440\u043d\u0430\u0442\u049b\u0430\u043d \u0436\u04e9\u043d. \u049a\u0430\u0437\u0456\u0440 \u0441\u0435\u0440\u0432\u0435\u0440\u043b\u0435\u0440\u0434\u0435\u0433\u0456 \u043e\u0440\u044b\u043d\u043d\u044b\u04a3 \u0431\u0430\u0493\u0430\u0441\u044b \u049b\u043e\u043b\u0436\u0435\u0442\u0456\u043c\u0434\u0456 (DockerHub \u0436\u0430\u0437\u044b\u043b\u044b\u043c\u044b\u043d\u0430\u043d \u04d9\u043b\u0434\u0435\u049b\u0430\u0439\u0434\u0430 \u0430\u0440\u0437\u0430\u043d), \u0430\u043b \u0436\u0435\u043a\u0435 \u0442\u0456\u0437\u0456\u043b\u0456\u043c\u0434\u0456 \u043e\u0440\u043d\u0430\u0442\u0443 \u04e9\u0442\u0435 \u043e\u04a3\u0430\u0439. <\/p>\n<p>\u0411\u0456\u0437\u0433\u0435 \u043c\u044b\u043d\u0430 \u043c\u04af\u043c\u043a\u0456\u043d\u0434\u0456\u043a\u0442\u0435\u0440 \u049b\u0430\u0436\u0435\u0442:<\/p>\n<ul>\n<li>\u0441\u0443\u0431\u0434\u043e\u043c\u0435\u043d \u0430\u0440\u049b\u044b\u043b\u044b \u049b\u043e\u043b\u0436\u0435\u0442\u0456\u043c\u0434\u0456, \u049b\u04b1\u043f\u0438\u044f\u0441\u04e9\u0437\u0431\u0435\u043d \u049b\u043e\u0440\u0493\u0430\u043b\u0493\u0430\u043d Docker \u0442\u0456\u0437\u0456\u043b\u0456\u043c\u0456 <noindex><a rel=\"nofollow\" href=\"https:\/\/docker.helloworld.ru\">https:\/\/docker.helloworld.ru<\/a><\/noindex>;<\/li>\n<li>\u0442\u0456\u0437\u0456\u043b\u0456\u043c\u0434\u0435\u0433\u0456 \u043e\u0431\u0440\u0430\u0437\u0434\u0430\u0440\u0434\u044b \u043a\u04e9\u0440\u0443\u0433\u0435 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d UI \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0456 \u043c\u044b\u043d\u0430 \u043c\u0435\u043a\u0435\u043d\u0436\u0430\u0439 \u0431\u043e\u0439\u044b\u043d\u0448\u0430 \u049b\u043e\u043b\u0436\u0435\u0442\u0456\u043c\u0434\u0456 \u0431\u043e\u043b\u0443\u044b \u043a\u0435\u0440\u0435\u043a <noindex><a rel=\"nofollow\" href=\"https:\/\/docker-ui.helloworld.ru\">https:\/\/docker-ui.helloworld.ru<\/a><\/noindex>.<\/li>\n<\/ul>\n<p>\n\u041e\u043b \u04af\u0448\u0456\u043d:<\/p>\n<ol>\n<li>Plesk \u0436\u0430\u0437\u044b\u043b\u044b\u043c\u044b\u043c\u044b\u0437\u0434\u0430 docker.helloworld.ru \u0436\u04d9\u043d\u0435 docker-ui.helloworld.ru \u0430\u0442\u0442\u044b \u0435\u043a\u0456 \u0441\u0443\u0431\u0434\u043e\u043c\u0435\u043d \u0436\u0430\u0441\u0430\u043f, \u043e\u043b\u0430\u0440\u0493\u0430 Let\u2019s Encrypt \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0442\u0430\u0440\u044b\u043d \u0431\u0430\u043f\u0442\u0430\u0439\u043c\u044b\u0437.<\/li>\n<li>docker.helloworld.ru \u0441\u0443\u0431\u0434\u043e\u043c\u0435\u043d\u0456\u043d\u0456\u04a3 \u049b\u0430\u043b\u0442\u0430\u0441\u044b\u043d\u0430 \u043c\u044b\u043d\u0430 \u0444\u0430\u0439\u043b\u0434\u044b \u049b\u043e\u0441\u0430\u043c\u044b\u0437: <code>docker-compose.yml<\/code> \u0444\u0430\u0439\u043b \u0436\u0430\u0441\u0430\u0439\u043c\u044b\u0437:\n<pre><code class=\"plaintext\">version: &quot;3&quot;\n\nservices:\n  docker-registry:\n    image: &quot;registry:2&quot;\n    restart: always\n    ports:\n      - &quot;53985:5000&quot;\n    environment:\n      REGISTRY_AUTH: htpasswd\n      REGISTRY_AUTH_HTPASSWD_REALM: basic-realm\n      REGISTRY_AUTH_HTPASSWD_PATH: \/auth\/.htpasswd\n      REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY: \/data\n    volumes:\n      - .\/.docker-registry.htpasswd:\/auth\/.htpasswd\n      - .\/data:\/data\n\n  docker-registry-ui:\n    image: konradkleine\/docker-registry-frontend:v2\n    restart: always\n    ports:\n      - &quot;53986:80&quot;\n    environment:\n      VIRTUAL_HOST: '*, https:\/\/*'\n      ENV_DOCKER_REGISTRY_HOST: 'docker-registry'\n      ENV_DOCKER_REGISTRY_PORT: 5000\n    links:\n      - 'docker-registry'\n<\/code><\/pre>\n<p>\n<\/li>\n<li>SSH \u0430\u0440\u049b\u044b\u043b\u044b Docker \u0442\u0456\u0437\u0456\u043b\u0456\u043c\u0456\u043d\u0434\u0435\u0433\u0456 Basic \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f\u0441\u044b\u043d\u0430 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d .htpasswd \u0444\u0430\u0439\u043b\u044b\u043d \u0436\u0430\u0441\u0430\u0439\u043c\u044b\u0437:\n<pre><code class=\"plaintext\">htpasswd -bBc .htpasswd hw_docker_admin hw_docker_password<\/code><\/pre>\n<\/li>\n<li>\u041a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043b\u0435\u0440\u0434\u0456 \u049b\u04b1\u0440\u0430\u0441\u0442\u044b\u0440\u044b\u043f, \u0456\u0441\u043a\u0435 \u049b\u043e\u0441\u0430\u043c\u044b\u0437:\n<pre><code class=\"plaintext\">docker-compose up -d<\/code><\/pre>\n<\/li>\n<li>\u0415\u043d\u0434\u0456 Nginx \u0441\u04b1\u0440\u0430\u0443\u043b\u0430\u0440\u044b\u043d \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043b\u0435\u0440\u0456\u043c\u0456\u0437\u0433\u0435 \u0431\u0430\u0493\u044b\u0442\u0442\u0430\u0443 \u043a\u0435\u0440\u0435\u043a. \u041c\u04b1\u043d\u044b Plesk \u0430\u0440\u049b\u044b\u043b\u044b \u0436\u0430\u0441\u0430\u0443\u0493\u0430 \u0431\u043e\u043b\u0430\u0434\u044b. <\/li>\n<\/ol>\n<p>\n\u041a\u0435\u043b\u0435\u0441\u0456 \u04d9\u0440\u0435\u043a\u0435\u0442\u0442\u0435\u0440\u0434\u0456 docker.helloworld.ru \u0436\u04d9\u043d\u0435 docker-ui.helloworld.ru \u0441\u0443\u0431\u0434\u043e\u043c\u0435\u043d\u0434\u0435\u0440\u0456 \u04af\u0448\u0456\u043d \u043e\u0440\u044b\u043d\u0434\u0430\u04a3\u044b\u0437:<\/p>\n<p>\u0411\u04e9\u043b\u0456\u043c\u0456\u043d\u0434\u0435 <i>\u0421\u0430\u0439\u0442\u044b\u043c\u044b\u0437\u0434\u044b\u04a3 Dev Tools \u0431\u04e9\u043b\u0456\u043c\u0456\u043d\u0435<\/i> \u04e9\u0442\u0456\u043f, <i>Docker Proxy Rules<\/i>:<\/p>\n<p><img decoding=\"async\" alt=\"Flask+Angular \u0436\u043e\u0431\u0430\u0441\u044b\u043d\u0430 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d Github Actions \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435\u0433\u0456 CI\/CD\" src=\"\/wp-content\/uploads\/2020\/06\/d9c05901d95d61ce5db27a1a7cfddf49.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n\u043a\u0456\u0440\u0456\u0441 \u0442\u0440\u0430\u0444\u0438\u0433\u0456\u043d \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0456\u043c\u0456\u0437\u0433\u0435 \u0431\u0430\u0493\u044b\u0442\u0442\u0430\u0439\u0442\u044b\u043d \u0435\u0440\u0435\u0436\u0435 \u049b\u043e\u0441\u0430\u043c\u044b\u0437:<\/p>\n<p><img decoding=\"async\" alt=\"Flask+Angular \u0436\u043e\u0431\u0430\u0441\u044b\u043d\u0430 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d Github Actions \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435\u0433\u0456 CI\/CD\" src=\"\/wp-content\/uploads\/2020\/06\/faa85cf6da648ef55b7c87c44040efb1.png\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<ol>\n<li>\u0416\u0435\u0440\u0433\u0456\u043b\u0456\u043a\u0442\u0456 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0434\u0435\u043d \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0433\u0435 \u043a\u0456\u0440\u0435 \u0430\u043b\u0430\u0442\u044b\u043d\u044b\u043c\u044b\u0437\u0434\u044b \u0442\u0435\u043a\u0441\u0435\u0440\u0435\u043c\u0456\u0437:\n<pre><code class=\"plaintext\">$ docker login docker.helloworld.ru -u hw_docker_admin -p hw_docker_password\nWARNING! Using --password via the CLI is insecure. Use --password-stdin.\nLogin Succeeded<\/code><\/pre>\n<\/li>\n<li>\u0421\u043e\u043d\u0434\u0430\u0439-\u0430\u049b docker-ui.helloworld.ru \u0441\u0443\u0431\u0434\u043e\u043c\u0435\u043d\u0456\u043d\u0456\u04a3 \u0436\u04b1\u043c\u044b\u0441\u044b\u043d \u0442\u0435\u043a\u0441\u0435\u0440\u0435\u0439\u0456\u043a:\n<p><img decoding=\"async\" alt=\"Flask+Angular \u0436\u043e\u0431\u0430\u0441\u044b\u043d\u0430 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d Github Actions \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435\u0433\u0456 CI\/CD\" src=\"\/wp-content\/uploads\/2020\/06\/fdd6e1396c27c02a88bcbd7efb12f247.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\nBrowse repositories \u0442\u04af\u0439\u043c\u0435\u0441\u0456\u043d \u0431\u0430\u0441\u049b\u0430\u043d\u0434\u0430, \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0434\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044f \u0442\u0435\u0440\u0435\u0437\u0435\u0441\u0456 \u0430\u0448\u044b\u043b\u0430\u0434\u044b. \u041e\u043d\u0434\u0430 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439\u0434\u0456\u04a3 \u043b\u043e\u0433\u0438\u043d\u0456 \u043c\u0435\u043d \u049b\u04b1\u043f\u0438\u044f\u0441\u04e9\u0437\u0456\u043d \u0435\u043d\u0433\u0456\u0437\u0443 \u043a\u0435\u0440\u0435\u043a. \u0421\u043e\u0434\u0430\u043d \u043a\u0435\u0439\u0456\u043d \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439\u043b\u0435\u0440 \u0442\u0456\u0437\u0456\u043c\u0456 \u0431\u0430\u0440 \u0431\u0435\u0442 \u0430\u0448\u044b\u043b\u0430\u0434\u044b (\u04d9\u0437\u0456\u0440\u0433\u0435 \u043e\u043b \u0431\u043e\u0441 \u0431\u043e\u043b\u0430\u0434\u044b):<\/p>\n<p><img decoding=\"async\" alt=\"Flask+Angular \u0436\u043e\u0431\u0430\u0441\u044b\u043d\u0430 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d Github Actions \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435\u0433\u0456 CI\/CD\" src=\"\/wp-content\/uploads\/2020\/06\/f2d75edb530e9d746095ae02d7793c1f.png\" style=\"display:block;margin: 0 auto;\" \/><\/li>\n<\/ol>\n<p><\/p>\n<h2>Plesk Firewall \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435 \u043f\u043e\u0440\u0442\u0442\u0430\u0440\u0434\u044b \u0430\u0448\u0443<\/h2>\n<p>\n\u041a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0442\u0435\u0440\u0434\u0456 \u043e\u0440\u043d\u0430\u0442\u044b\u043f, \u0431\u0430\u043f\u0442\u0430\u0493\u0430\u043d\u043d\u0430\u043d \u043a\u0435\u0439\u0456\u043d, \u043e\u043b\u0430\u0440\u0493\u0430 Docker \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043b\u0435\u0440\u0456 \u043c\u0435\u043d \u0441\u044b\u0440\u0442\u049b\u044b \u0436\u0435\u043b\u0456\u0434\u0435\u043d \u049b\u043e\u043b \u0436\u0435\u0442\u043a\u0456\u0437\u0443 \u04af\u0448\u0456\u043d \u043f\u043e\u0440\u0442\u0442\u0430\u0440\u0434\u044b \u0430\u0448\u0443 \u049b\u0430\u0436\u0435\u0442.<\/p>\n<p>\u041c\u04b1\u043d\u044b \u0431\u04b1\u0440\u044b\u043d \u043e\u0440\u043d\u0430\u0442\u049b\u0430\u043d Plesk-\u043a\u0435 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d Firewall \u043a\u0435\u04a3\u0435\u0439\u0442\u0456\u043c\u0456\u043d\u0456\u04a3 \u043c\u044b\u0441\u0430\u043b\u044b\u043d\u0434\u0430 \u049b\u0430\u0440\u0430\u0441\u0442\u044b\u0440\u0430\u0439\u044b\u049b.<\/p>\n<ol>\n<li>\u041a\u0435\u043b\u0435\u0441\u0456\u0433\u0435 \u04e9\u0442\u0435\u043c\u0456\u0437: <i>Tools &amp; Settings &gt; Settings &gt; Firewall<\/i>:<br \/>\n<img decoding=\"async\" alt=\"Flask+Angular \u0436\u043e\u0431\u0430\u0441\u044b\u043d\u0430 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d Github Actions \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435\u0433\u0456 CI\/CD\" src=\"\/wp-content\/uploads\/2020\/06\/d54b4941944fe191574472a475cbaebe.png\" style=\"display:block;margin: 0 auto;\" \/><\/li>\n<li>\u041a\u0435\u043b\u0435\u0441\u0456\u0433\u0435 \u04e9\u0442\u0435\u043c\u0456\u0437: <i>Modify Plesk Firewall Rules &gt; Add Custom Rule<\/i> Docker \u0456\u0448\u043a\u0456 \u0436\u0435\u043b\u0456\u0441\u0456 \u04af\u0448\u0456\u043d \u043c\u044b\u043d\u0430 TCP \u043f\u043e\u0440\u0442\u0442\u0430\u0440\u044b\u043d \u0430\u0448\u0430\u043c\u044b\u0437 (<strong>172.0.0.0\/8)<\/strong>:<br \/>\nRabbitMQ: 1883, 4369, 5671-5672, 25672, 61613-61614<br \/>\nRedis: 32785, 32786<\/p>\n<p><img decoding=\"async\" alt=\"Flask+Angular \u0436\u043e\u0431\u0430\u0441\u044b\u043d\u0430 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d Github Actions \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435\u0433\u0456 CI\/CD\" src=\"\/wp-content\/uploads\/2020\/06\/3359845f9bd6dc303274da737d4b27a2.png\" style=\"display:block;margin: 0 auto;\" \/><\/li>\n<li>\u0421\u043e\u043d\u0434\u0430\u0439-\u0430\u049b PostgreSQL \u043f\u043e\u0440\u0442\u0442\u0430\u0440\u044b \u043c\u0435\u043d RabbitMQ \u0431\u0430\u0441\u049b\u0430\u0440\u0443 \u043f\u0430\u043d\u0435\u043b\u0456\u043d \u0441\u044b\u0440\u0442\u049b\u044b \u0436\u0435\u043b\u0456\u0434\u0435\u043d \u049b\u043e\u043b\u0436\u0435\u0442\u0456\u043c\u0434\u0456 \u0435\u0442\u0435\u0442\u0456\u043d \u0435\u0440\u0435\u0436\u0435 \u049b\u043e\u0441\u0430\u043c\u044b\u0437:\n<p><img decoding=\"async\" alt=\"Flask+Angular \u0436\u043e\u0431\u0430\u0441\u044b\u043d\u0430 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d Github Actions \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435\u0433\u0456 CI\/CD\" src=\"\/wp-content\/uploads\/2020\/06\/f812cfc7127da469507538ea48b2c80d.png\" style=\"display:block;margin: 0 auto;\" \/><\/li>\n<li>\u0415\u0440\u0435\u0436\u0435\u043b\u0435\u0440\u0434\u0456 Apply Changes \u0442\u04af\u0439\u043c\u0435\u0441\u0456 \u0430\u0440\u049b\u044b\u043b\u044b \u049b\u043e\u043b\u0434\u0430\u043d\u0430\u043c\u044b\u0437:\n<p><img decoding=\"async\" alt=\"Flask+Angular \u0436\u043e\u0431\u0430\u0441\u044b\u043d\u0430 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d Github Actions \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435\u0433\u0456 CI\/CD\" src=\"\/wp-content\/uploads\/2020\/06\/e85444ae717aaefa796664003fc86578.png\" style=\"display:block;margin: 0 auto;\" \/><\/li>\n<\/ol>\n<p><\/p>\n<h1>GitHub Actions \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435 CI\/CD \u0431\u0430\u043f\u0442\u0430\u0443<\/h1>\n<p>\n\u0415\u043d\u0434\u0456 \u0435\u04a3 \u049b\u044b\u0437\u044b\u049b\u0442\u044b \u0431\u04e9\u043b\u0456\u043a\u043a\u0435 \u2014 \u0436\u043e\u0431\u0430\u043d\u044b \u0441\u0435\u0440\u0432\u0435\u0440\u0433\u0435 \u04af\u0437\u0434\u0456\u043a\u0441\u0456\u0437 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f\u043b\u0430\u0443 \u0436\u04d9\u043d\u0435 \u0436\u0435\u0442\u043a\u0456\u0437\u0443 \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d\u044b\u043d \u0431\u0430\u043f\u0442\u0430\u0443\u0493\u0430 \u043a\u0456\u0440\u0456\u0441\u0435\u0439\u0456\u043a.<\/p>\n<p>\u0411\u04b1\u043b \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d \u0435\u043a\u0456 \u0431\u04e9\u043b\u0456\u043a\u0442\u0435\u043d \u0442\u04b1\u0440\u0430\u0434\u044b: <\/p>\n<ul>\n<li>\u043e\u0431\u0440\u0430\u0437\u0434\u044b \u049b\u04b1\u0440\u0430\u0441\u0442\u044b\u0440\u0443 \u0436\u04d9\u043d\u0435 \u0442\u0435\u0441\u0442\u0442\u0435\u0440\u0434\u0456 \u043e\u0440\u044b\u043d\u0434\u0430\u0443 (\u0431\u044d\u043a\u0435\u043d\u0434 \u04af\u0448\u0456\u043d) \u2014 GitHub \u0436\u0430\u0493\u044b\u043d\u0434\u0430;<\/li>\n<li>\u043c\u0438\u0433\u0440\u0430\u0446\u0438\u044f\u043b\u0430\u0440\u0434\u044b \u0456\u0441\u043a\u0435 \u049b\u043e\u0441\u0443 (\u0431\u044d\u043a\u0435\u043d\u0434 \u04af\u0448\u0456\u043d) \u0436\u04d9\u043d\u0435 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043b\u0435\u0440\u0434\u0456 \u0434\u0435\u043f\u043b\u043e\u0439 \u0436\u0430\u0441\u0430\u0443 \u2014 \u0441\u0435\u0440\u0432\u0435\u0440\u0434\u0435.<\/li>\n<\/ul>\n<p><\/p>\n<h2>Plesk-\u043a\u0435 \u0434\u0435\u043f\u043b\u043e\u0439 \u0436\u0430\u0441\u0430\u0443<\/h2>\n<p>\n\u0410\u043b\u0434\u044b\u043c\u0435\u043d \u0435\u043a\u0456\u043d\u0448\u0456 \u0442\u0430\u0440\u043c\u0430\u049b\u0442\u044b \u049b\u0430\u0440\u0430\u0441\u0442\u044b\u0440\u0430\u0439\u044b\u049b, \u04e9\u0439\u0442\u043a\u0435\u043d\u0456 \u0431\u0456\u0440\u0456\u043d\u0448\u0456\u0441\u0456 \u0441\u043e\u0493\u0430\u043d \u0431\u0430\u0439\u043b\u0430\u043d\u044b\u0441\u0442\u044b.<\/p>\n<p>\u0414\u0435\u043f\u043b\u043e\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0456\u043d Plesk-\u043a\u0435 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d Git \u043a\u0435\u04a3\u0435\u0439\u0442\u0456\u043c\u0456 \u0430\u0440\u049b\u044b\u043b\u044b \u0431\u0430\u043f\u0442\u0430\u0439\u043c\u044b\u0437.<\/p>\n<p>Backend \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439\u0456\u043d\u0456\u04a3 Prod \u043e\u0440\u0442\u0430\u0441\u044b\u043d\u0430 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d \u043c\u044b\u0441\u0430\u043b\u0434\u044b \u049b\u0430\u0440\u0430\u0441\u0442\u044b\u0440\u0430\u0439\u044b\u049b.<\/p>\n<ol>\n<li>Helloworld \u0441\u0430\u0439\u0442\u044b\u043d\u044b\u04a3 \u0436\u0430\u0437\u044b\u043b\u044b\u043c\u044b\u043d\u0430 \u043a\u0456\u0440\u0456\u043f, Git \u0431\u04e9\u043b\u0456\u043c\u0448\u0435\u0441\u0456\u043d\u0435 \u04e9\u0442\u0435\u043c\u0456\u0437:\n<p><img decoding=\"async\" alt=\"Flask+Angular \u0436\u043e\u0431\u0430\u0441\u044b\u043d\u0430 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d Github Actions \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435\u0433\u0456 CI\/CD\" src=\"\/wp-content\/uploads\/2020\/06\/b55b371560ea87a2954b6553a7cefc49.png\" style=\"display:block;margin: 0 auto;\" \/><\/li>\n<li>\u00abRemote Git repository\u00bb \u04e9\u0440\u0456\u0441\u0456\u043d\u0435 GitHub \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439\u0456\u043d\u0456\u04a3 \u0441\u0456\u043b\u0442\u0435\u043c\u0435\u0441\u0456\u043d \u0435\u043d\u0433\u0456\u0437\u0456\u043f, \u04d9\u0434\u0435\u043f\u043a\u0456 \u0431\u0443\u043c\u0430\u043d\u044b <code>httpdocs<\/code> \u0431\u0430\u0441\u049b\u0430 \u0431\u0443\u043c\u0430\u0493\u0430 \u04e9\u0437\u0433\u0435\u0440\u0442\u0435\u043c\u0456\u0437 (\u043c\u044b\u0441\u0430\u043b\u044b, <code>\/httpdocs\/hw_back<\/code>):\n<p><img decoding=\"async\" alt=\"Flask+Angular \u0436\u043e\u0431\u0430\u0441\u044b\u043d\u0430 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d Github Actions \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435\u0433\u0456 CI\/CD\" src=\"\/wp-content\/uploads\/2020\/06\/db9ba9adb6e2e1bed5da7ae8e88c76e1.png\" style=\"display:block;margin: 0 auto;\" \/><\/li>\n<li>\u0410\u043b\u0434\u044b\u04a3\u0493\u044b \u043a\u0435\u0437\u0435\u04a3\u0434\u0435 \u0430\u043b\u044b\u043d\u0493\u0430\u043d SSH Public key \u043a\u0456\u043b\u0442\u0456\u043d \u043a\u04e9\u0448\u0456\u0440\u0456\u043f, <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/settings\/ssh\/new\">\u043e\u043d\u044b<\/a><\/noindex> GitHub \u0431\u0430\u043f\u0442\u0430\u0443\u043b\u0430\u0440\u044b\u043d\u0430 \u049b\u043e\u0441\u0430\u043c\u044b\u0437.<\/li>\n<li>2-\u0442\u0430\u0440\u043c\u0430\u049b\u0442\u0430\u0493\u044b \u044d\u043a\u0440\u0430\u043d\u0434\u0430 OK \u0442\u04af\u0439\u043c\u0435\u0441\u0456\u043d \u0431\u0430\u0441\u049b\u0430\u043d\u043d\u0430\u043d \u043a\u0435\u0439\u0456\u043d, Plesk \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435\u0433\u0456 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0431\u0435\u0442\u0456 \u0430\u0448\u044b\u043b\u0430\u0434\u044b. \u0415\u043d\u0434\u0456 master \u0442\u0430\u0440\u043c\u0430\u0493\u044b\u043d\u0430 \u043a\u043e\u043c\u043c\u0438\u0442 \u0436\u0430\u0441\u0430\u043b\u0493\u0430\u043d\u0434\u0430 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439\u0434\u0456\u04a3 \u0436\u0430\u04a3\u0430\u0440\u0442\u044b\u043b\u0443\u044b\u043d \u0431\u0430\u043f\u0442\u0430\u0443 \u043a\u0435\u0440\u0435\u043a. \u041e\u043b \u04af\u0448\u0456\u043d <i>Repository Settings \u0431\u04e9\u043b\u0456\u043c\u0456\u043d\u0435 \u04e9\u0442\u0456\u043f,<\/i> \u043c\u044b\u043d\u0430 \u043c\u04d9\u043d\u0434\u0456 \u0441\u0430\u049b\u0442\u0430\u0439\u043c\u044b\u0437: <code>Webhook URL<\/code> (\u043e\u043b \u043a\u0435\u0439\u0456\u043d GitHub Actions \u0436\u04af\u0439\u0435\u0441\u0456\u043d \u0431\u0430\u043f\u0442\u0430\u0493\u0430\u043d\u0434\u0430 \u049b\u0430\u0436\u0435\u0442 \u0431\u043e\u043b\u0430\u0434\u044b):\n<p><img decoding=\"async\" alt=\"Flask+Angular \u0436\u043e\u0431\u0430\u0441\u044b\u043d\u0430 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d Github Actions \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435\u0433\u0456 CI\/CD\" src=\"\/wp-content\/uploads\/2020\/06\/14d48a357f821d734d40dc434ab3682a.png\" style=\"display:block;margin: 0 auto;\" \/><\/li>\n<li>\u0410\u043b\u0434\u044b\u04a3\u0493\u044b \u0442\u0430\u0440\u043c\u0430\u049b\u0442\u0430\u0493\u044b \u044d\u043a\u0440\u0430\u043d\u043d\u044b\u04a3 Actions \u04e9\u0440\u0456\u0441\u0456\u043d\u0435 \u0434\u0435\u043f\u043b\u043e\u0439\u0434\u044b \u0456\u0441\u043a\u0435 \u049b\u043e\u0441\u0430\u0442\u044b\u043d \u0441\u043a\u0440\u0438\u043f\u0442\u0442\u0456 \u0435\u043d\u0433\u0456\u0437\u0435\u043c\u0456\u0437:\n<pre><code class=\"plaintext\">cd {REPOSITORY_ABSOLUTE_PATH}\n.ci-cd\/deploy.sh {ENV} {DOCKER_REGISTRY_HOST} {DOCKER_USER} {DOCKER_PASSWORD} {TG_BOT_TOKEN} {TG_CHAT_ID} <\/code><\/pre>\n<p>\n\u041c\u04b1\u043d\u0434\u0430: <\/p>\n<p><code>{REPOSITORY_ABSOLUTE_PATH}<\/code> \u2014 \u0441\u0435\u0440\u0432\u0435\u0440\u0434\u0435\u0433\u0456 prod backend \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439\u0456 \u0431\u0443\u043c\u0430\u0441\u044b\u043d\u044b\u04a3 \u0436\u043e\u043b\u044b;<br \/>\n<code>{ENV}<\/code> \u2014 \u043e\u0440\u0442\u0430 (dev\/prod), \u0431\u04b1\u043b \u0436\u0430\u0493\u0434\u0430\u0439\u0434\u0430 <code>prod<\/code>;<br \/>\n<code>{DOCKER_REGISTRY_HOST}<\/code> \u2014 Docker \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439\u0456\u043d\u0456\u04a3 \u0445\u043e\u0441\u0442\u044b;<br \/>\n<code>{TG_BOT_TOKEN}<\/code> \u2014 Telegram \u0431\u043e\u0442 \u0442\u043e\u043a\u0435\u043d\u0456;<br \/>\n<code>{TG_CHAT_ID}<\/code> \u2014 \u0445\u0430\u0431\u0430\u0440\u043b\u0430\u043d\u0434\u044b\u0440\u0443\u043b\u0430\u0440 \u0436\u0456\u0431\u0435\u0440\u0456\u043b\u0435\u0442\u0456\u043d \u0447\u0430\u0442\u0442\u044b\u04a3\/\u0430\u0440\u043d\u0430\u043d\u044b\u04a3 ID-\u0456.<\/p>\n<p>\u0421\u043a\u0440\u0438\u043f\u0442 \u04af\u043b\u0433\u0456\u0441\u0456:<\/p>\n<pre><code class=\"plaintext\">cd \/var\/www\/vhosts\/helloworld.ru\/httpdocs\/hw_back\/\n.ci-cd\/deploy.sh dev docker.helloworld.ru docker_user docker_password 12345678:AAbcdEfghCH1vGbCasdfSAs0K5PALDsaw -1001234567890<\/code><\/pre>\n<\/li>\n<li>\u0416\u0430\u0437\u044b\u043b\u044b\u043c\u044b\u043c\u044b\u0437\u0434\u0430\u0493\u044b \u043f\u0430\u0439\u0434\u0430\u043b\u0430\u043d\u0443\u0448\u044b\u043d\u044b Docker \u0442\u043e\u0431\u044b\u043d\u0430 \u049b\u043e\u0441\u0430\u043c\u044b\u0437 (\u0441\u043e\u043d\u0434\u0430 \u043e\u043b \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043b\u0435\u0440\u0434\u0456 \u0431\u0430\u0441\u049b\u0430\u0440\u0430 \u0430\u043b\u0430\u0434\u044b):\n<pre><code class=\"plaintext\">sudo usermod -aG docker helloworld_admin<\/code><\/pre>\n<\/li>\n<\/ol>\n<p>\nBackend \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439\u0456 \u043c\u0435\u043d frontend \u04af\u0448\u0456\u043d dev \u043e\u0440\u0442\u0430\u0441\u044b \u0434\u0430 \u043e\u0441\u044b\u0493\u0430\u043d \u04b1\u049b\u0441\u0430\u0441 \u0431\u0430\u043f\u0442\u0430\u043b\u0430\u0434\u044b.<\/p>\n<h2>Github Actions \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435\u0433\u0456 \u0434\u0435\u043f\u043b\u043e\u0439 \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d\u044b<\/h2>\n<p>\nGithub Actions \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435\u0433\u0456 CI\/CD \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d\u044b\u043d\u044b\u04a3 \u0430\u043b\u0493\u0430\u0448\u049b\u044b \u0431\u04e9\u043b\u0456\u0433\u0456\u043d \u0431\u0430\u043f\u0442\u0430\u0443\u0493\u0430 \u043a\u04e9\u0448\u0435\u0439\u0456\u043a.<\/p>\n<h3>Backend<\/h3>\n<p>\n\u041f\u0430\u0439\u043f\u043b\u0430\u0439\u043d \u0441\u0438\u043f\u0430\u0442\u0442\u0430\u043c\u0430\u0441\u044b <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/olegborzov\/helloworld_back\/blob\/master\/.github\/workflows\/deploy.yml\">deploy.yml \u0444\u0430\u0439\u043b\u044b\u043d\u0434\u0430 \u0431\u0435\u0440\u0456\u043b\u0433\u0435\u043d<\/a><\/noindex>. <\/p>\n<p>\u041e\u043d\u044b \u0442\u0430\u043b\u0434\u0430\u043c\u0430\u0441 \u0431\u04b1\u0440\u044b\u043d, Github \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435 \u049b\u0430\u0436\u0435\u0442\u0442\u0456 Secret \u0430\u0439\u043d\u044b\u043c\u0430\u043b\u044b\u043b\u0430\u0440\u044b\u043d \u0442\u043e\u043b\u0442\u044b\u0440\u0430\u0439\u044b\u049b. \u041e\u043b \u04af\u0448\u0456\u043d \u043c\u044b\u043d\u0430 \u0431\u04e9\u043b\u0456\u043c\u0433\u0435 \u04e9\u0442\u0435\u043c\u0456\u0437: <i>\u0411\u0430\u043f\u0442\u0430\u0443\u043b\u0430\u0440 -&gt; \u049a\u04b1\u043f\u0438\u044f\u043b\u0430\u0440<\/i>:<\/p>\n<ul>\n<li><code>DOCKER_REGISTRY<\/code> \u2014 Docker \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439\u0456\u043c\u0456\u0437\u0434\u0456\u04a3 \u0445\u043e\u0441\u0442\u044b (docker.helloworld.ru);<\/li>\n<li><code>DOCKER_LOGIN<\/code> \u2014 Docker \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439\u0456\u043d\u0435 \u043a\u0456\u0440\u0443 \u043b\u043e\u0433\u0438\u043d\u0456;<\/li>\n<li><code>DOCKER_PASSWORD<\/code> \u2014 \u043e\u043d\u044b\u04a3 \u049b\u04b1\u043f\u0438\u044f\u0441\u04e9\u0437\u0456;<\/li>\n<li><code>DEPLOY_HOST<\/code> \u2014 Plesk \u0431\u0430\u0441\u049b\u0430\u0440\u0443 \u0442\u0430\u049b\u0442\u0430\u0441\u044b \u049b\u043e\u043b\u0436\u0435\u0442\u0456\u043c\u0434\u0456 \u0445\u043e\u0441\u0442 (\u043c\u044b\u0441\u0430\u043b\u044b: <noindex><a rel=\"nofollow\" href=\"https:\/\/helloworld.ru\">helloworld.ru<\/a><\/noindex>:8443 \u043d\u0435\u043c\u0435\u0441\u0435 <noindex><a rel=\"nofollow\" href=\"http:\/\/123.4.56.78\">123.4.56.78<\/a><\/noindex>:8443);<\/li>\n<li><code>DEPLOY_BACK_PROD_TOKEN<\/code> \u2014 \u0441\u0435\u0440\u0432\u0435\u0440\u0434\u0435\u0433\u0456 prod \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439\u0456\u043d\u0435 \u0434\u0435\u043f\u043b\u043e\u0439 \u0436\u0430\u0441\u0430\u0443\u0493\u0430 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d \u0442\u043e\u043a\u0435\u043d (\u043e\u043d\u044b Plesk \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435 \u043e\u0440\u043d\u0430\u043b\u0430\u0441\u0442\u044b\u0440\u0443 \u0431\u04e9\u043b\u0456\u043c\u0456\u043d\u0456\u04a3 4-\u0442\u0430\u0440\u043c\u0430\u0493\u044b\u043d\u0434\u0430 \u0430\u043b\u0434\u044b\u049b);<\/li>\n<li><code>DEPLOY_BACK_DEV_TOKEN<\/code> \u2014 \u0441\u0435\u0440\u0432\u0435\u0440\u0434\u0435\u0433\u0456 dev \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439\u0456\u043d\u0435 \u0434\u0435\u043f\u043b\u043e\u0439 \u0436\u0430\u0441\u0430\u0443\u0493\u0430 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d \u0442\u043e\u043a\u0435\u043d.<\/li>\n<\/ul>\n<p>\n\u0414\u0435\u043f\u043b\u043e\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0456 \u049b\u0430\u0440\u0430\u043f\u0430\u0439\u044b\u043c \u04d9\u0440\u0456 \u04af\u0448 \u043d\u0435\u0433\u0456\u0437\u0433\u0456 \u049b\u0430\u0434\u0430\u043c\u043d\u0430\u043d \u0442\u04b1\u0440\u0430\u0434\u044b: <\/p>\n<ul>\n<li>\u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439\u0456\u043c\u0456\u0437\u0434\u0435 \u043e\u0431\u0440\u0430\u0437\u0434\u044b \u049b\u04b1\u0440\u0430\u0441\u0442\u044b\u0440\u0443 \u0436\u04d9\u043d\u0435 \u0436\u0430\u0440\u0438\u044f\u043b\u0430\u0443;<\/li>\n<li>\u0436\u0430\u04a3\u0430 \u049b\u04b1\u0440\u0430\u0441\u0442\u044b\u0440\u044b\u043b\u0493\u0430\u043d \u043e\u0431\u0440\u0430\u0437 \u043d\u0435\u0433\u0456\u0437\u0456\u043d\u0434\u0435\u0433\u0456 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0434\u0435 \u0442\u0435\u0441\u0442\u0442\u0435\u0440\u0434\u0456 \u0456\u0441\u043a\u0435 \u049b\u043e\u0441\u0443;<\/li>\n<li>\u0442\u0430\u0440\u043c\u0430\u049b\u049b\u0430 (dev\/master) \u049b\u0430\u0440\u0430\u0439 \u049b\u0430\u0436\u0435\u0442\u0442\u0456 \u043e\u0440\u0442\u0430\u0493\u0430 \u043e\u0440\u043d\u0430\u043b\u0430\u0441\u0442\u044b\u0440\u0443.<\/li>\n<\/ul>\n<p><\/p>\n<h3>\u0424\u0440\u043e\u043d\u0442\u0435\u043d\u0434<\/h3>\n<p>\n<noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/olegborzov\/helloworld-front\/blob\/master\/.github\/workflows\/deploy.yml\">Frontend \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439\u0456\u043d\u0435 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d deploy.yml \u0444\u0430\u0439\u043b\u044b<\/a><\/noindex> backend \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439\u0456\u043d\u0435 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d \u0444\u0430\u0439\u043b\u0434\u0430\u043d \u043a\u04e9\u043f \u0435\u0440\u0435\u043a\u0448\u0435\u043b\u0435\u043d\u0431\u0435\u0439\u0434\u0456. \u041e\u043d\u0434\u0430 \u0442\u0435\u0441\u0442\u0442\u0435\u0440\u0434\u0456 \u0456\u0441\u043a\u0435 \u049b\u043e\u0441\u0443 \u049b\u0430\u0434\u0430\u043c\u044b \u0436\u043e\u049b, \u0430\u043b \u0434\u0435\u043f\u043b\u043e\u0439 \u0442\u043e\u043a\u0435\u043d\u0434\u0435\u0440\u0456\u043d\u0456\u04a3 \u0430\u0442\u0430\u0443\u043b\u0430\u0440\u044b \u04e9\u0437\u0433\u0435\u0448\u0435. \u0410\u0439\u0442\u043f\u0430\u049b\u0448\u044b, frontend \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439\u0456\u043d\u0456\u04a3 \u049b\u04b1\u043f\u0438\u044f\u043b\u0430\u0440\u044b\u043d \u0431\u04e9\u043b\u0435\u043a \u0442\u043e\u043b\u0442\u044b\u0440\u0443 \u043a\u0435\u0440\u0435\u043a.<\/p>\n<h1>\u0421\u0430\u0439\u0442\u0442\u044b \u0431\u0430\u043f\u0442\u0430\u0443<\/h1>\n<p><\/p>\n<h2>Nginx \u0430\u0440\u049b\u044b\u043b\u044b \u0442\u0440\u0430\u0444\u0438\u043a\u0442\u0456 \u043f\u0440\u043e\u043a\u0441\u0438-\u0441\u0435\u0440\u0432\u0435\u0440\u0434\u0435\u043d \u04e9\u0442\u043a\u0456\u0437\u0443<\/h2>\n<p>\n\u0421\u043e\u043d\u044b\u043c\u0435\u043d, \u0441\u043e\u04a3\u044b\u043d\u0430 \u0434\u0430 \u0436\u0435\u0442\u0442\u0456\u043a. \u0415\u043d\u0434\u0456 Nginx \u0430\u0440\u049b\u044b\u043b\u044b \u043a\u0456\u0440\u0456\u0441 \u0436\u04d9\u043d\u0435 \u0448\u044b\u0493\u044b\u0441 \u0442\u0440\u0430\u0444\u0438\u043a\u0442\u0456 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0456\u043c\u0456\u0437\u0433\u0435 \u0431\u0430\u0493\u044b\u0442\u0442\u0430\u0443\u0434\u044b \u0493\u0430\u043d\u0430 \u0431\u0430\u043f\u0442\u0430\u0443 \u049b\u0430\u043b\u0434\u044b. \u0411\u04b1\u043b \u043f\u0440\u043e\u0446\u0435\u0441\u0442\u0456 Docker Registry \u0431\u0430\u043f\u0442\u0430\u0443\u044b\u043d\u044b\u04a3 5-\u0442\u0430\u0440\u043c\u0430\u0493\u044b\u043d\u0434\u0430 \u049b\u0430\u0440\u0430\u0441\u0442\u044b\u0440\u0493\u0430\u043d\u0431\u044b\u0437. \u041e\u0441\u044b\u043d\u044b dev \u0436\u04d9\u043d\u0435 prod \u043e\u0440\u0442\u0430\u043b\u0430\u0440\u044b\u043d\u0434\u0430\u0493\u044b backend \u043f\u0435\u043d frontend \u04af\u0448\u0456\u043d \u0434\u0435 \u049b\u0430\u0439\u0442\u0430\u043b\u0430\u0443 \u043a\u0435\u0440\u0435\u043a.<\/p>\n<p>\u0411\u0430\u043f\u0442\u0430\u0443\u043b\u0430\u0440\u0434\u044b\u04a3 \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u0442\u0430\u0440\u044b\u043d \u043a\u04e9\u0440\u0441\u0435\u0442\u0435\u0439\u0456\u043d.<\/p>\n<h3>Backend<\/h3>\n<p>\n<img decoding=\"async\" alt=\"Flask+Angular \u0436\u043e\u0431\u0430\u0441\u044b\u043d\u0430 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d Github Actions \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435\u0433\u0456 CI\/CD\" src=\"\/wp-content\/uploads\/2020\/06\/f3c38dc1c25b648db000c72ef2d30b2a.png\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<h3>\u0424\u0440\u043e\u043d\u0442\u0435\u043d\u0434<\/h3>\n<p>\n<img decoding=\"async\" alt=\"Flask+Angular \u0436\u043e\u0431\u0430\u0441\u044b\u043d\u0430 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d Github Actions \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435\u0433\u0456 CI\/CD\" src=\"\/wp-content\/uploads\/2020\/06\/35d4d8ef3489608db1e173b7f214ca03.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<strong>\u041c\u0430\u04a3\u044b\u0437\u0434\u044b \u0435\u0441\u043a\u0435\u0440\u0442\u0443<\/strong>. Frontend \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0456\u043d\u0435 \u043c\u044b\u043d\u0430\u0434\u0430\u043d \u0431\u0430\u0441\u0442\u0430\u043b\u0430\u0442\u044b\u043d\u0434\u0430\u0440\u0434\u0430\u043d \u0431\u0430\u0441\u049b\u0430 \u0431\u0430\u0440\u043b\u044b\u049b URL \u0431\u0430\u0493\u044b\u0442\u0442\u0430\u043b\u0430\u0434\u044b <code>\/api\/<\/code> \u2014 \u043e\u043b\u0430\u0440 backend \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0456\u043d\u0435 \u0431\u0430\u0493\u044b\u0442\u0442\u0430\u043b\u0430\u0434\u044b (\u0441\u043e\u043d\u0434\u044b\u049b\u0442\u0430\u043d <strong>backend \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0456\u043d\u0434\u0435\u0433\u0456 \u0431\u0430\u0440\u043b\u044b\u049b \u04e9\u04a3\u0434\u0435\u0433\u0456\u0448 \u043c\u044b\u043d\u0430\u0434\u0430\u043d \u0431\u0430\u0441\u0442\u0430\u043b\u0443\u044b \u043a\u0435\u0440\u0435\u043a <\/strong><strong><code>\/api\/<\/code><\/strong>).<\/p>\n<h2>\u049a\u043e\u0440\u044b\u0442\u044b\u043d\u0434\u044b<\/h2>\n<p>\n\u0415\u043d\u0434\u0456 \u0441\u0430\u0439\u0442\u044b\u043c\u044b\u0437 helloworld.ru \u0436\u04d9\u043d\u0435 dev.helloworld.ru \u043c\u0435\u043a\u0435\u043d\u0436\u0430\u0439\u043b\u0430\u0440\u044b\u043d\u0434\u0430 \u049b\u043e\u043b\u0436\u0435\u0442\u0456\u043c\u0434\u0456 \u0431\u043e\u043b\u0443\u044b \u043a\u0435\u0440\u0435\u043a (\u0441\u04d9\u0439\u043a\u0435\u0441\u0456\u043d\u0448\u0435 prod \u0436\u04d9\u043d\u0435 dev \u043e\u0440\u0442\u0430\u043b\u0430\u0440\u044b).<\/p>\n<p>\u041e\u0441\u044b\u043b\u0430\u0439\u0448\u0430, Flask \u043f\u0435\u043d Angular \u043d\u0435\u0433\u0456\u0437\u0456\u043d\u0434\u0435\u0433\u0456 \u049b\u0430\u0440\u0430\u043f\u0430\u0439\u044b\u043c \u049b\u043e\u043b\u0434\u0430\u043d\u0431\u0430\u043d\u044b \u0434\u0430\u0439\u044b\u043d\u0434\u0430\u0443\u0434\u044b \u0436\u04d9\u043d\u0435 \u043e\u043d\u044b Plesk \u0431\u0430\u0441\u049b\u0430\u0440\u0430\u0442\u044b\u043d \u0441\u0435\u0440\u0432\u0435\u0440\u0433\u0435 \u043e\u0440\u043d\u0430\u043b\u0430\u0441\u0442\u044b\u0440\u0443 \u04af\u0448\u0456\u043d Github Actions \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435 \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d \u0431\u0430\u043f\u0442\u0430\u0443\u0434\u044b \u04af\u0439\u0440\u0435\u043d\u0434\u0456\u043a.<\/p>\n<p>\u041a\u043e\u0434 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439\u043b\u0435\u0440\u0456\u043d\u0435 \u0441\u0456\u043b\u0442\u0435\u043c\u0435\u043b\u0435\u0440\u0434\u0456 \u049b\u0430\u0439\u0442\u0430\u043b\u0430\u043f \u043a\u04e9\u0440\u0441\u0435\u0442\u0435\u0439\u0456\u043d: <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/olegborzov\/helloworld_back\">\u0431\u044d\u043a\u0435\u043d\u0434<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/olegborzov\/helloworld-front\">\u0444\u0440\u043e\u043d\u0442\u0435\u043d\u0434<\/a><\/noindex>.<br \/>\n<br \/>\u0414\u0435\u0440\u0435\u043a\u043a\u04e9\u0437: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/company\/domclick\/blog\/506802\/\">habr.com<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u043f\u043e\u0434\u0435\u043b\u044e\u0441\u044c \u0441\u0432\u043e\u0438\u043c \u043e\u043f\u044b\u0442\u043e\u043c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 CI\/CD \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043f\u0430\u043d\u0435\u043b\u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f Plesk \u0438 Github Actions. \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u0431\u0443\u0434\u0435\u043c \u0443\u0447\u0438\u0442\u044c\u0441\u044f \u0434\u0435\u043f\u043b\u043e\u0438\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u0435\u043d\u044c\u043a\u0438\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 \u0441 \u043d\u0435\u0437\u0430\u043c\u044b\u0441\u043b\u043e\u0432\u0430\u0442\u044b\u043c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c \u00abHelloworld\u00bb. \u041e\u043d \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 Python-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0435 Flask, \u0441 \u0432\u043e\u0440\u043a\u0435\u0440\u0430\u043c\u0438 \u043d\u0430 Celery \u0438 \u0444\u0440\u043e\u043d\u0442\u0435\u043d\u0434\u043e\u043c \u043d\u0430 Angular 8. \u0421\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438: \u0431\u044d\u043a\u0435\u043d\u0434, \u0444\u0440\u043e\u043d\u0442\u0435\u043d\u0434. \u0412 \u043f\u0435\u0440\u0432\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u0441\u0442\u0430\u0442\u044c\u0438 \u043c\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u043d\u0430\u0448 \u043f\u0440\u043e\u0435\u043a\u0442 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":85647,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-85646","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.6.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u043f\u043e\u0434\u0435\u043b\u044e\u0441\u044c \u0441\u0432\u043e\u0438\u043c \u043e\u043f\u044b\u0442\u043e\u043c.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/kk\/blog\/administrirovanie\/ci-cd-v-github-actions-dlya-proekta-na-flask-angular\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.6.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47CI\/CD \u0432 Github Actions \u0434\u043b\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043d\u0430 Flask+Angular | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u043f\u043e\u0434\u0435\u043b\u044e\u0441\u044c \u0441\u0432\u043e\u0438\u043c \u043e\u043f\u044b\u0442\u043e\u043c.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/kk\/blog\/administrirovanie\/ci-cd-v-github-actions-dlya-proekta-na-flask-angular\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-06-17T23:42:15+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-06-17T23:42:15+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47 Flask+Angular \u0436\u043e\u0431\u0430\u0441\u044b\u043d\u0430 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d GitHub Actions \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435\u0433\u0456 CI\/CD | ProHoster","description":"\u0411\u04b1\u043b \u043c\u0430\u049b\u0430\u043b\u0430\u0434\u0430 \u04e9\u0437 \u0442\u04d9\u0436\u0456\u0440\u0438\u0431\u0435\u043c\u043c\u0435\u043d \u0431\u04e9\u043b\u0456\u0441\u0435\u043c\u0456\u043d.","canonical_url":"https:\/\/prohoster.info\/kk\/blog\/administrirovanie\/ci-cd-v-github-actions-dlya-proekta-na-flask-angular","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47CI\/CD \u0432 Github Actions \u0434\u043b\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043d\u0430 Flask+Angular | ProHoster","og:description":"\u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u043f\u043e\u0434\u0435\u043b\u044e\u0441\u044c \u0441\u0432\u043e\u0438\u043c \u043e\u043f\u044b\u0442\u043e\u043c.","og:url":"https:\/\/prohoster.info\/kk\/blog\/administrirovanie\/ci-cd-v-github-actions-dlya-proekta-na-flask-angular","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-06-17T23:42:15+00:00","article:modified_time":"2020-06-17T23:42:15+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"85646","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 13:12:50","updated":"2022-09-29 06:56:26","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/kk\/wp-json\/wp\/v2\/posts\/85646","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/kk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/kk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/kk\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/kk\/wp-json\/wp\/v2\/comments?post=85646"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/kk\/wp-json\/wp\/v2\/posts\/85646\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/kk\/wp-json\/wp\/v2\/media\/85647"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/kk\/wp-json\/wp\/v2\/media?parent=85646"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/kk\/wp-json\/wp\/v2\/categories?post=85646"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/kk\/wp-json\/wp\/v2\/tags?post=85646"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}