docker fixes and nextcloud update

This commit is contained in:
Christian Lempa
2022-11-16 17:09:17 +01:00
parent 073eb8c82c
commit 9d44fabd64
3 changed files with 5 additions and 113 deletions

View File

@@ -4,17 +4,11 @@ volumes:
nextcloud-data:
nextcloud-db:
networks:
frontend:
# add this if the network is already existing!
# external: true
backend:
services:
nextcloud-app:
image: nextcloud
restart: always
image: nextcloud:latest
restart: unless-stopped
volumes:
- nextcloud-data:/var/www/html
environment:
@@ -22,13 +16,10 @@ services:
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- MYSQL_HOST=nextcloud-db
networks:
- frontend
- backend
nextcloud-db:
image: mariadb
restart: always
image: mariadb:latest
restart: unless-stopped
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
volumes:
- nextcloud-db:/var/lib/mysql
@@ -37,5 +28,3 @@ services:
- MYSQL_PASSWORD=replace-with-secure-password
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
networks:
- backend