Renamed server roles

This commit is contained in:
2023-04-18 15:41:14 +02:00
parent 9b065dfc5d
commit cd9eca8ee3
136 changed files with 348 additions and 348 deletions

View File

@@ -5,7 +5,7 @@ This role doesn't work and needs to be implemented
## cleanup
```bash
docker-compose down && docker volume rm funkwhale_data
server_docker-compose down && docker volume rm funkwhale_data
```
## further information

View File

@@ -1,8 +1,8 @@
---
- name: recreate funkwhale
command:
cmd: docker-compose -p funkwhale up -d --force-recreate
chdir: /home/administrator/docker-compose/funkwhale/
cmd: server_docker-compose -p funkwhale up -d --force-recreate
chdir: /home/administrator/server_docker-compose/funkwhale/
environment:
COMPOSE_HTTP_TIMEOUT: 600
DOCKER_CLIENT_TIMEOUT: 600

View File

@@ -1,2 +1,2 @@
dependencies:
- native-docker-reverse-proxy
- server_native-docker-reverse-proxy

View File

@@ -3,7 +3,7 @@
command: certbot certonly --agree-tos --email {{administrator_email}} --non-interactive --webroot -w /var/lib/letsencrypt/ -d {{domain}}
- name: configure {{domain}}.conf
template: src=roles/native-docker-reverse-proxy/templates/domain.conf.j2 dest=/etc/nginx/conf.d/{{domain}}.conf
template: src=roles/server_native-docker-reverse-proxy/templates/domain.conf.j2 dest=/etc/nginx/conf.d/{{domain}}.conf
notify: restart nginx
- name: "create {{docker_compose_path}}"
@@ -12,8 +12,8 @@
state: directory
mode: 0755
- name: add docker-compose.yml
template: src=docker-compose.yml.j2 dest={{docker_compose_path}}docker-compose.yml
- name: add server_docker-compose.yml
template: src=server_docker-compose.yml.j2 dest={{docker_compose_path}}server_docker-compose.yml
notify: recreate funkwhale
- name: add .env

View File

@@ -19,7 +19,7 @@
FUNKWHALE_VERSION={{funkwhale_version}}
# End of Docker-only configuration
# End of server_docker-only configuration
# General configuration
# ---------------------

View File

@@ -1,2 +1,2 @@
docker_compose_path: "/home/administrator/docker-compose/funkwhale/"
docker_compose_path: "/home/administrator/server_docker-compose/funkwhale/"
client_max_body_size: "512M"