Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion compose/nextcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ services:
## Nextcloud - A safe home for all your data
nextcloud:
container_name: nextcloud
image: nextcloud:29
## Nextcloud version should be only upgraded 1 major version at a time.
## Errors can occur if more than one major version is upgraded at a time,
## so version is pinned.
image: nextcloud:31
networks:
- traefik_proxy
security_opt:
Expand All @@ -33,6 +36,11 @@ services:
- $APPDIR/nextcloud/custom_apps:/var/www/html/custom_apps
- $APPDIR/nextcloud/config:/var/www/html/config
- $DATADIR/nextcloud:/var/www/html/data
## Setting `hostname` fixes the Nextcloud error
## AH00558: apache2: Could not reliably determine the server's fully
## qualified domain name, using [IP Address]. Set the 'ServerName'
## directive globally to suppress this message
hostname: drive.$DOMAINNAME0
environment:
TZ: $TZ
PUID: $PUID
Expand Down