2023-12-22 15:49:55 +01:00
|
|
|
---
|
2024-01-08 15:14:55 +01:00
|
|
|
- name: "include docker-compose-database.yml"
|
|
|
|
include_tasks: docker-compose-database.yml
|
2023-12-31 11:14:18 +01:00
|
|
|
|
2024-01-02 21:13:34 +01:00
|
|
|
- name: "include tasks nginx-docker-proxy-domain.yml"
|
|
|
|
include_tasks: nginx-docker-proxy-domain.yml
|
|
|
|
|
2023-12-30 15:22:18 +01:00
|
|
|
- name: "include tasks update-repository-with-docker-compose.yml"
|
|
|
|
include_tasks: update-repository-with-docker-compose.yml
|
2023-12-22 15:49:55 +01:00
|
|
|
|
2024-01-14 14:10:36 +01:00
|
|
|
|
|
|
|
- name: "Transfering Gemfile.plugins to {{docker_compose_instance_directory}}"
|
|
|
|
copy:
|
|
|
|
src: Gemfile.plugins
|
|
|
|
dest: "{{docker_compose_instance_directory}}Gemfile.plugins"
|
|
|
|
notify:
|
|
|
|
- docker compose project setup
|
|
|
|
- rebuild docker image
|
|
|
|
|
|
|
|
- name: "Transfering Dockerfile to {{docker_compose_instance_directory}}"
|
|
|
|
copy:
|
|
|
|
src: Dockerfile
|
|
|
|
dest: "{{docker_compose_instance_directory}}Dockerfile"
|
|
|
|
notify:
|
|
|
|
- docker compose project setup
|
|
|
|
- rebuild docker image
|
|
|
|
|
2024-01-13 21:38:02 +01:00
|
|
|
- name: "create {{dummy_volume}}"
|
|
|
|
file:
|
|
|
|
path: "{{dummy_volume}}"
|
|
|
|
state: directory
|
|
|
|
mode: 0755
|
|
|
|
|
2023-12-22 15:49:55 +01:00
|
|
|
- name: "copy .env"
|
|
|
|
template:
|
|
|
|
src: env.j2
|
2023-12-24 18:48:38 +01:00
|
|
|
dest: "{{ docker_compose_instance_directory }}.env"
|
2023-12-30 15:22:18 +01:00
|
|
|
notify: docker compose project setup
|