Compare commits

..

No commits in common. "dc00b4cbaf7b9f726ab33af30592161969ac7423" and "2702ae93f9463be6eb4983b189ce7e376f9ff44f" have entirely different histories.

3 changed files with 8 additions and 8 deletions

View File

@ -20,14 +20,14 @@
mode: 0775 mode: 0775
recurse: yes recurse: yes
- name: Create nextcloud redis folder - name: Create paperless redis folder
file: file:
path: "/var/nextcloud/redis" path: "/var/nextcloud/redis"
state: directory state: directory
mode: 0775 mode: 0775
recurse: yes recurse: yes
- name: Create nextcloud postgres folder - name: Create paperless postgres folder
file: file:
path: "/var/nextcloud/postgres" path: "/var/nextcloud/postgres"
state: directory state: directory
@ -68,7 +68,7 @@
- name: Copy nextcloud-web.container - name: Copy nextcloud-web.container
ansible.builtin.template: ansible.builtin.template:
src: nextcloud-web.quadlet.j2 src: paperless-ngx-tika.quadlet.j2
dest: "/etc/containers/systemd/nextcloud-web.container" dest: "/etc/containers/systemd/nextcloud-web.container"
- name: "Reload systemd" - name: "Reload systemd"
@ -82,10 +82,10 @@
name: nextcloud-redis name: nextcloud-redis
state: started state: started
- name: Start nextcloud Postgres - name: Start Paperless-ngs Postgres
systemd_service: systemd_service:
enabled: true enabled: true
name: nextcloud-postgres name: paperless-ngx-postgres
state: started state: started
notify: notify:

View File

@ -16,7 +16,7 @@ Environment=POSTGRES_USER=nextcloud
Environment=POSTGRES_PASSWORD=nextcloud Environment=POSTGRES_PASSWORD=nextcloud
Environment=POSTGRES_DB=nextcloud Environment=POSTGRES_DB=nextcloud
Environment=NEXTCLOUD_TRUSTED_DOMAINS={{ nextcloud_domains|join(" ") }} Environment=NEXTCLOUD_TRUSTED_DOMAINS=(% for domain in nextcloud_domains %){{domain}} (% endfor %)
Network=nextcloud.network Network=nextcloud.network

View File

@ -14,13 +14,13 @@ Network=nextcloud.network
Volume=/var/nextcloud/web/nginx.conf:/etc/nginx/nginx.conf Volume=/var/nextcloud/web/nginx.conf:/etc/nginx/nginx.conf
Volume=/var/nextcloud/app:/var/www/html:z Volume=/var/nextcloud/app:/var/www/html:z
{% for domain in nextcloud_domains -%} (% for domain in nextcloud_domains %)
Label="traefik.http.routers.nextcloud{{loop.index}}.tls.certresolver=resolver" Label="traefik.http.routers.nextcloud{{loop.index}}.tls.certresolver=resolver"
Label="traefik.http.routers.nextcloud{{loop.index}}.tls=true" Label="traefik.http.routers.nextcloud{{loop.index}}.tls=true"
Label="traefik.http.routers.nextcloud{{loop.index}}.rule=Host(`{{ domain }}`)" Label="traefik.http.routers.nextcloud{{loop.index}}.rule=Host(`{{ domain }}`)"
Label="traefik.http.routers.nextcloud{{loop.index}}.service=nextcloud{{loop.index}}" Label="traefik.http.routers.nextcloud{{loop.index}}.service=nextcloud{{loop.index}}"
Label="traefik.http.services.nextcloud{{loop.index}}.loadbalancer.server.port=80" Label="traefik.http.services.nextcloud{{loop.index}}.loadbalancer.server.port=80"
{% endfor %} (% endfor %)
[Service] [Service]
Restart=on-failure Restart=on-failure