Stop passing through the entire config directory
This makes updates so much easier!
This commit is contained in:
parent
708250005a
commit
871555532d
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ./nextcloud/config:/config/www/nextcloud/config
|
- ./nextcloud/config:/config/www/nextcloud/config
|
||||||
- ./nextcloud/apps:/config/www/nextcloud/apps
|
- ./nextcloud/apps:/config/www/nextcloud/apps
|
||||||
- ./config:/config
|
- ./nginx-default.conf:/config/nginx/site-confs/default
|
||||||
- /srv/nextcloud-data/data:/data
|
- /srv/nextcloud-data/data:/data
|
||||||
- /opt/gitea/repos:/repos:ro
|
- /opt/gitea/repos:/repos:ro
|
||||||
- /mnt/media:/content:ro
|
- /mnt/media:/content:ro
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
- name: Install nextcloud custom nginx config
|
- name: Install nextcloud custom nginx config
|
||||||
template:
|
template:
|
||||||
src: files/nextcloud/default.conf
|
src: files/nextcloud/default.conf
|
||||||
dest: "/opt/nextcloud/config/nginx/site-confs/default"
|
dest: "/opt/nextcloud/nginx-default.conf"
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
register: nginx_config
|
register: nginx_config
|
||||||
|
|
Loading…
Reference in a new issue