Refactored docker rroles dto use new role docker-compose

This commit is contained in:
2023-12-30 16:49:37 +01:00
parent f70a7690a8
commit 3fa052f71d
79 changed files with 161 additions and 300 deletions

View File

@@ -1,8 +0,0 @@
---
- name: recreate funkwhale
command:
cmd: docker-compose -p funkwhale up -d --force-recreate
chdir: "{{docker_compose_instance_directory}}"
environment:
COMPOSE_HTTP_TIMEOUT: 600
DOCKER_CLIENT_TIMEOUT: 600

View File

@@ -1,2 +1,2 @@
dependencies:
- nginx-docker-reverse-proxy
- docker-compose

View File

@@ -10,7 +10,7 @@
- name: add docker-compose.yml
template: src=docker-compose.yml.j2 dest={{docker_compose_instance_directory}}docker-compose.yml
notify: recreate funkwhale
notify: docker compose project setup
- name: add .env
template:
@@ -18,4 +18,4 @@
dest: "{{docker_compose_instance_directory}}.env"
mode: '770'
force: yes
notify: recreate funkwhale
notify: docker compose project setup

View File

@@ -1,2 +1,3 @@
docker_compose_instance_directory: "{{path_docker_compose_instances}}funkwhale/"
docker_compose_project_name: "funkwhale"
docker_compose_instance_directory: "{{path_docker_compose_instances}}{{docker_compose_project_name}}/"
nginx_docker_reverse_proxy_extra_configuration: "client_max_body_size 512M;"