Skip to content
Snippets Groups Projects
Commit 85c4885e authored by Christian Elberfeld's avatar Christian Elberfeld
Browse files

Upgrade Nextcloud

parent c087c4bb
No related branches found
No related tags found
No related merge requests found
......@@ -2,11 +2,10 @@
# Pakete installieren
- name: pakete installieren
apt:
pkg: "{{ item }}"
update_cache: yes
update_cache: no
state: present
with_items:
- curl
name:
- curl
- include: ../functions/get_secret.yml
with_items:
......@@ -27,10 +26,6 @@
- "/srv/nextcloud/tmp/"
- "/srv/nextcloud/elasticsearch_data/"
- name: Get a timestamp
command: "date +%Y%m%d%H%M%S"
register: timestamp
- name: set vm.max_map_count for elasticsearch etc.
sysctl:
name: vm.max_map_count
......@@ -41,8 +36,6 @@
template: src="{{ item }}" dest="/srv/nextcloud/{{ item }}"
with_items:
- "docker-compose.yml"
- "memory-limit.ini"
- "Dockerfile-elasticsearch"
- name: Script Helper erstellen
template:
......
FROM docker.elastic.co/elasticsearch/elasticsearch:6.4.1
RUN bin/elasticsearch-plugin install ingest-attachment
......@@ -4,12 +4,12 @@ services:
redis:
image: redis:6.0.1
image: redis:6.0.8
restart: always
mysql:
image: mariadb:10.4.10
image: mariadb:10.5.6
restart: always
volumes:
- /srv/nextcloud/db/:/var/lib/mysql
......@@ -21,7 +21,7 @@ services:
app:
image: nextcloud:18.0.4-apache
image: nextcloud:20.0.0-apache
restart: always
ports:
- 127.0.0.1:42002:80
......
memory_limit=-1
......@@ -2,4 +2,4 @@
# Wrapper zur ausführung des OCC Kommendos im Docker
cd /srv/nextcloud/
/usr/local/bin/docker-compose exec app su www-data -s "/bin/sh" -c "php /var/www/html/occ $1 $2 $3"
docker-compose exec app "/usr/src/nextcloud/occ $1 $2 $3"
......@@ -4,7 +4,7 @@ services:
db:
image: postgres:12.2
image: postgres:12.4
restart: always
volumes:
- /srv/matrix/db:/var/lib/postgresql/data
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment