Stop passing through the entire config directory

This makes updates so much easier!
This commit is contained in:
Jake Howard 2020-03-15 11:45:55 +00:00
parent 708250005a
commit 871555532d
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ services:
volumes:
- ./nextcloud/config:/config/www/nextcloud/config
- ./nextcloud/apps:/config/www/nextcloud/apps
- ./config:/config
- ./nginx-default.conf:/config/nginx/site-confs/default
- /srv/nextcloud-data/data:/data
- /opt/gitea/repos:/repos:ro
- /mnt/media:/content:ro

View file

@ -42,7 +42,7 @@
- name: Install nextcloud custom nginx config
template:
src: files/nextcloud/default.conf
dest: "/opt/nextcloud/config/nginx/site-confs/default"
dest: "/opt/nextcloud/nginx-default.conf"
mode: "{{ docker_compose_file_mask }}"
owner: "{{ docker_user.name }}"
register: nginx_config