2020-12-24 14:27:31 +01:00
|
|
|
---
|
2024-01-19 15:12:18 +01:00
|
|
|
- name: "include docker/compose/database.yml"
|
|
|
|
include_tasks: docker/compose/database.yml
|
2024-01-03 20:17:55 +01:00
|
|
|
|
2023-12-06 17:59:57 +01:00
|
|
|
- name: "include tasks nginx-docker-proxy-domain.yml"
|
|
|
|
include_tasks: nginx-docker-proxy-domain.yml
|
|
|
|
loop: "{{ domains }}"
|
2023-12-06 14:40:18 +01:00
|
|
|
loop_control:
|
2023-12-06 17:59:57 +01:00
|
|
|
loop_var: domain
|
|
|
|
vars:
|
2023-12-07 18:54:47 +01:00
|
|
|
nginx_docker_reverse_proxy_extra_configuration: "client_max_body_size {{wordpress_max_upload_size}};"
|
2020-12-24 14:27:31 +01:00
|
|
|
|
2023-12-05 18:45:26 +01:00
|
|
|
- name: "Transfering upload.ini to {{docker_compose_instance_directory}}"
|
2023-09-11 18:17:10 +02:00
|
|
|
template:
|
|
|
|
src: upload.ini.j2
|
2023-12-05 18:45:26 +01:00
|
|
|
dest: "{{docker_compose_instance_directory}}upload.ini"
|
2023-09-11 18:17:10 +02:00
|
|
|
notify:
|
2023-12-30 16:49:37 +01:00
|
|
|
- docker compose project setup
|
2023-09-11 18:17:10 +02:00
|
|
|
- rebuild wordpress container
|
|
|
|
|
2023-12-05 18:45:26 +01:00
|
|
|
- name: "Transfering Dockerfile to {{docker_compose_instance_directory}}"
|
2023-09-11 18:17:10 +02:00
|
|
|
copy:
|
|
|
|
src: Dockerfile
|
2023-12-05 18:45:26 +01:00
|
|
|
dest: "{{docker_compose_instance_directory}}Dockerfile"
|
2023-09-11 18:17:10 +02:00
|
|
|
notify:
|
2023-12-30 16:49:37 +01:00
|
|
|
- docker compose project setup
|
2023-09-11 18:17:10 +02:00
|
|
|
- rebuild wordpress container
|
|
|
|
|
2023-12-05 18:45:26 +01:00
|
|
|
- name: "add docker-compose.yml to {{docker_compose_instance_directory}}"
|
|
|
|
template: src=docker-compose.yml.j2 dest={{docker_compose_instance_directory}}docker-compose.yml
|
2023-12-30 16:49:37 +01:00
|
|
|
notify: docker compose project setup
|