Solved bugs

This commit is contained in:
Kevin Veen-Birkenbach 2023-04-26 12:45:49 +02:00
parent 1b8ff143e3
commit ea784c096d
3 changed files with 5 additions and 7 deletions

View File

@ -8,16 +8,16 @@
dest: "/etc/nginx/conf.d/{{domain}}.conf" dest: "/etc/nginx/conf.d/{{domain}}.conf"
notify: restart nginx notify: restart nginx
- name: "create {{path_volumes_docker}}nextcloud/" - name: "create {{path_docker_volumes}}nextcloud/"
file: file:
path: "{{path_volumes_docker}}nextcloud" path: "{{path_docker_volumes}}nextcloud"
state: directory state: directory
mode: 0755 mode: 0755
- name: configure nginx.conf - name: configure nginx.conf
template: template:
src: "templates/nginx.conf.j2" src: "templates/nginx.conf.j2"
dest: "{{path_volumes_docker}}nextcloud/nginx.conf" dest: "{{path_docker_volumes}}nextcloud/nginx.conf"
notify: recreate nextcloud notify: recreate nextcloud
- name: "create {{path_docker_compose_files}}nextcloud/" - name: "create {{path_docker_compose_files}}nextcloud/"

View File

@ -44,7 +44,7 @@ services:
depends_on: depends_on:
- application - application
volumes: volumes:
- "{{path_volumes_docker}}nextcloud/nginx.conf:/etc/nginx/nginx.conf:ro" - "{{path_docker_volumes}}nextcloud/nginx.conf:/etc/nginx/nginx.conf:ro"
volumes_from: volumes_from:
- application - application
redis: redis:

View File

@ -55,9 +55,7 @@ for backup_type in $remote_backup_types; do
eval "$rsync_command" && eval "$rsync_command" &&
echo "removing: $status_pulling_file" && echo "removing: $status_pulling_file" &&
rm -vf $status_pulling_file rm -vf $status_pulling_file || ((errors+=1));
|| ((errors+=1));
fi fi
done done
exit $errors; exit $errors;