Compare commits
No commits in common. "dc00b4cbaf7b9f726ab33af30592161969ac7423" and "2702ae93f9463be6eb4983b189ce7e376f9ff44f" have entirely different histories.
dc00b4cbaf
...
2702ae93f9
@ -20,14 +20,14 @@
|
||||
mode: 0775
|
||||
recurse: yes
|
||||
|
||||
- name: Create nextcloud redis folder
|
||||
- name: Create paperless redis folder
|
||||
file:
|
||||
path: "/var/nextcloud/redis"
|
||||
state: directory
|
||||
mode: 0775
|
||||
recurse: yes
|
||||
|
||||
- name: Create nextcloud postgres folder
|
||||
- name: Create paperless postgres folder
|
||||
file:
|
||||
path: "/var/nextcloud/postgres"
|
||||
state: directory
|
||||
@ -68,7 +68,7 @@
|
||||
|
||||
- name: Copy nextcloud-web.container
|
||||
ansible.builtin.template:
|
||||
src: nextcloud-web.quadlet.j2
|
||||
src: paperless-ngx-tika.quadlet.j2
|
||||
dest: "/etc/containers/systemd/nextcloud-web.container"
|
||||
|
||||
- name: "Reload systemd"
|
||||
@ -82,10 +82,10 @@
|
||||
name: nextcloud-redis
|
||||
state: started
|
||||
|
||||
- name: Start nextcloud Postgres
|
||||
- name: Start Paperless-ngs Postgres
|
||||
systemd_service:
|
||||
enabled: true
|
||||
name: nextcloud-postgres
|
||||
name: paperless-ngx-postgres
|
||||
state: started
|
||||
|
||||
notify:
|
||||
|
@ -16,7 +16,7 @@ Environment=POSTGRES_USER=nextcloud
|
||||
Environment=POSTGRES_PASSWORD=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
|
||||
|
@ -14,13 +14,13 @@ Network=nextcloud.network
|
||||
Volume=/var/nextcloud/web/nginx.conf:/etc/nginx/nginx.conf
|
||||
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=true"
|
||||
Label="traefik.http.routers.nextcloud{{loop.index}}.rule=Host(`{{ domain }}`)"
|
||||
Label="traefik.http.routers.nextcloud{{loop.index}}.service=nextcloud{{loop.index}}"
|
||||
Label="traefik.http.services.nextcloud{{loop.index}}.loadbalancer.server.port=80"
|
||||
{% endfor %}
|
||||
(% endfor %)
|
||||
|
||||
[Service]
|
||||
Restart=on-failure
|
||||
|
Loading…
Reference in New Issue
Block a user