Nextcloud
Nextcloud offers a self-hosted file storage and sync platform with powerful collaboration capabilities with desktop, mobile and web interfaces.
References
Section titled “References”Make directory
Section titled “Make directory”mkdir -p {{DOCKER_PATH_VAR}}/nextcloud && cd {{DOCKER_PATH_VAR}}/nextcloudcompose.yml
Section titled “compose.yml”nano compose.ymlname: nextcloud-aioservices: nextcloud-aio-mastercontainer: image: ghcr.io/nextcloud-releases/all-in-one:latest init: true restart: always container_name: nextcloud-aio-mastercontainer volumes: - nextcloud_aio_mastercontainer:/mnt/docker-aio-config - /var/run/docker.sock:/var/run/docker.sock:ro environment: - TZ={{TIME_ZONE_VAR}} network_mode: bridge ports: - "80:80" - "8080:8080" - "8443:8443"
volumes: nextcloud_aio_mastercontainer: name: nextcloud_aio_mastercontainerStart container
Section titled “Start container”docker compose up -dOpen web ui
Section titled “Open web ui”http://localhost:8443 or http://{{SERVER_IP_VAR}}:8443
After completing the web-based installer, restart the Nextcloud container to apply default memory caching and transactional file locking configurations.
Restart container
Section titled “Restart container”docker compose restartAlternatively, you can apply your own configurations by editing config.php.
Modify config.php
Section titled “Modify config.php”nano ./config/www/nextcloud/config/config.php'redis' => [ 'host' => 'nextcloud_redis', 'port' => 6379,],'memcache.local' => '\\OC\\Memcache\\APCu','filelocking.enabled' => true,'memcache.locking' => '\\OC\\Memcache\\APCu','upgrade.disable-web' => true,