From 8fd6f9312d01d0648a5debdfa8a056b202f4d64e Mon Sep 17 00:00:00 2001 From: tiyn Date: Wed, 9 Aug 2023 15:19:45 +0200 Subject: [PATCH] docker: nextcloud tags explained --- wiki/docker/nextcloud.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/wiki/docker/nextcloud.md b/wiki/docker/nextcloud.md index 90b4067..9ea7ac1 100644 --- a/wiki/docker/nextcloud.md +++ b/wiki/docker/nextcloud.md @@ -12,6 +12,16 @@ Docker container. Create the files `rebuild.sh` and `docker-compose.yml` at the same place. Change the settings according to your needs and run `./rebuild.sh` afterwards. +It is recommended to use the versionnumber instead of `:latest` for both the MariaDB and the +NextCloud image like the following example. + +``` +nextcloud:22 +mariadb:9 +``` + +Make sure to substitute all the occurences of the `:latest` tag accordingly. +Updating has to be done manually so nothing breaks. ## Volumes @@ -50,7 +60,7 @@ volumes: services: db: - image: mariadb + image: mariadb:latest restart: always command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW volumes: @@ -62,7 +72,7 @@ services: - MYSQL_USER=nextcloud app: - image: nextcloud + image: nextcloud:latest restart: always ports: - 8080:80 @@ -81,5 +91,4 @@ volumes: driver: local nextcloud: driver: local - ```