computer-playbook/roles/docker-openproject/tasks/main.yml

39 lines
1.0 KiB
YAML
Raw Normal View History

2023-12-22 15:49:55 +01:00
---
2024-01-19 15:12:18 +01:00
- name: "include docker/compose/database.yml"
include_tasks: docker/compose/database.yml
- name: "include tasks nginx-docker-proxy-domain.yml"
include_tasks: nginx-docker-proxy-domain.yml
- 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
- 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
dest: "{{ docker_compose_instance_directory }}.env"
notify: docker compose project setup