Added specific nextcloud version

This commit is contained in:
Kevin Veen-Birkenbach 2021-08-18 01:51:00 +02:00
parent 6a5db94ade
commit 2d7088df0e
2 changed files with 7 additions and 1 deletions

View File

@ -45,3 +45,7 @@ To use occ run:
docker exec -it nextcloud_database_1 mysql -u nextcloud -pPASSWORD1234132 -D nextcloud -e "delete from oc_file_locks where 1"
docker exec -it -u www-data nextcloud_application_1 /var/www/html/occ maintenance:mode --off
```
## further information
- https://goneuland.de/nextcloud-upgrade-auf-neue-versionen-mittels-docker/
- https://help.nextcloud.com/t/cant-start-nextcloud-because-the-version-of-the-data-is-higher-than-the-docker-image-version-and-downgrading-is-not-supported/109438

View File

@ -11,7 +11,7 @@
project_name: nextcloud
definition:
application:
image: nextcloud
image: "nextcloud:{{nextcloud_version}}-apache"
restart: always
log_driver: journald
links:
@ -21,6 +21,8 @@
ports:
- "127.0.0.1:{{http_port}}:80"
environment:
DOCKER_CLIENT_TIMEOUT: 120
COMPOSE_HTTP_TIMEOUT: 120
MYSQL_DATABASE: "nextcloud"
MYSQL_USER: "nextcloud"
MYSQL_PASSWORD: "{{nextcloud_database_password}}"