Compare commits
No commits in common. "36ff0fb5fa184121c6780f08e8062b347a165b39" and "fa9bac81af493f4479c45f781b63beb79becd696" have entirely different histories.
36ff0fb5fa
...
fa9bac81af
3 changed files with 5 additions and 20 deletions
|
|
@ -1,8 +1,8 @@
|
|||
---
|
||||
# set preferred application version
|
||||
nextcloud_version: 30-fpm-alpine
|
||||
nextcloud_version: 29-fpm-alpine
|
||||
# set preferred postgres version
|
||||
nextcloud_db_version: 16-alpine
|
||||
nextcloud_db_version: 12-alpine
|
||||
|
||||
nextcloud_upstream_file_dir: "{{ docker_stack_files_dir }}/{{ stack_name }}"
|
||||
|
||||
|
|
|
|||
|
|
@ -16,12 +16,14 @@
|
|||
state: directory
|
||||
mode: "0755"
|
||||
become: true
|
||||
notify: "update nextcloud upstream"
|
||||
|
||||
- name: Move webserver Caddyfile to target dir
|
||||
ansible.builtin.copy:
|
||||
src: "Caddyfile"
|
||||
dest: "{{ nextcloud_upstream_file_dir }}/Caddyfile"
|
||||
become: true
|
||||
notify: "update nextcloud upstream"
|
||||
|
||||
- name: Deploy to swarm
|
||||
community.general.docker_stack:
|
||||
|
|
@ -33,3 +35,4 @@
|
|||
become: true
|
||||
tags:
|
||||
- docker-swarm
|
||||
notify: "update nextcloud upstream"
|
||||
|
|
|
|||
|
|
@ -142,24 +142,6 @@ services:
|
|||
networks:
|
||||
- backend
|
||||
|
||||
# from https://okxo.de/speed-up-nextcloud-preview-generation-with-imaginary/
|
||||
# and https://github.com/nextcloud/all-in-one/tree/main/Containers/imaginary
|
||||
imaginary:
|
||||
image: nextcloud/aio-imaginary:latest
|
||||
environment:
|
||||
- PORT=9000
|
||||
healthcheck:
|
||||
test: ["CMD", "/healthcheck.sh"]
|
||||
interval: 1m
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 1m
|
||||
command: -return-size -max-allowed-resolution 222.2 -concurrency 50 -enable-url-source -log-level debug
|
||||
cap_add:
|
||||
- CAP_SYS_NICE
|
||||
networks:
|
||||
- backend
|
||||
|
||||
# metrics:
|
||||
# image: telegraf
|
||||
# hostname: "${HOSTNAME:-vmi352583.contaboserver.net}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue