feature 0.0070
This commit is contained in:
@@ -32,7 +32,7 @@
|
|||||||
mode: '0600'
|
mode: '0600'
|
||||||
|
|
||||||
- name: Download nginx
|
- 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:
|
args:
|
||||||
creates: /opt/infra/nginx.yaml
|
creates: /opt/infra/nginx.yaml
|
||||||
|
|
||||||
|
|||||||
8
docker/nginx/nginx.yaml
Normal file
8
docker/nginx/nginx.yaml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
web:
|
||||||
|
image: nginx
|
||||||
|
volumes:
|
||||||
|
- ./templates:/etc/nginx/templates
|
||||||
|
- ./confs:/etc/nginx/conf.d
|
||||||
|
ports:
|
||||||
|
- "80:80"
|
||||||
|
- "443:443"
|
||||||
Reference in New Issue
Block a user