From 08e48aac2996526b043a96edd27398ba59e0bd8d Mon Sep 17 00:00:00 2001 From: "MH.Dmitrii" Date: Sun, 1 Mar 2026 19:44:12 +0300 Subject: [PATCH] feature 0.0070 --- ansible/deploy.yml | 2 +- docker/nginx/nginx.yaml | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 docker/nginx/nginx.yaml diff --git a/ansible/deploy.yml b/ansible/deploy.yml index 69d69de..42bb1e3 100644 --- a/ansible/deploy.yml +++ b/ansible/deploy.yml @@ -32,7 +32,7 @@ mode: '0600' - name: Download nginx - shell: wget -O /opt/infra/nginx.yaml "{{ URL for docker-compose nginx }}" + shell: wget -O /opt/infra/nginx.yaml "{{ URL for docker-compose nginx }}" #перенести докер в pipeline и выкачать страницы для запуска с созданием loacations в nginx args: creates: /opt/infra/nginx.yaml diff --git a/docker/nginx/nginx.yaml b/docker/nginx/nginx.yaml new file mode 100644 index 0000000..5bb32be --- /dev/null +++ b/docker/nginx/nginx.yaml @@ -0,0 +1,8 @@ +web: + image: nginx + volumes: + - ./templates:/etc/nginx/templates + - ./confs:/etc/nginx/conf.d + ports: + - "80:80" + - "443:443" \ No newline at end of file