Try describing what you need:

Nextcloud Memories logo

Nextcloud Memories

★ 3.9k

A self-hosted alternative to Icloud

GNU Affero General Public License v3.0Open Source — No Paywall5 Containers — 5 containers — moderate hosting footprintPackage · SourceNeeds MariaDBCloud Required4+ active committers (12mo)

About

Memories is a batteries-included photo management solution built for Nextcloud users who want a richer way to browse, organize, and share their media. It focuses on large photo libraries and provides...

Community Ratings

No ratings yet

Features

  • timeline
  • rewind
  • AI tagging
  • albums
  • external sharing
  • mobile support
  • metadata editing
  • archive
  • video transcoding
  • map view

Details

Last Updated
Oct 24, 2026
Created
Aug 13, 2022
Install Methods
package-managersource
Requirements
NextcloudPHPNode.js 18Composer
Backup & Export
native-export
Runtime / Stack
PHP
Privacy & Independence
Cloud: Required
User Model
Multi-User
Deployment

Deployment: Docker Compose ✓5 Containers — moderate hosting footprintRuns as 5 containers

Run Nextcloud Memories with Docker Compose

Compose file from the Nextcloud Memories project repository.

5 services · database: mariadb · infra: mariadb, redis, nginx · 1 unclassified (go-vod)

no resource limits declared

needs persistent storage (6 volumes)

.examples/Docker/docker-compose.yml · @ 759ec21 · scanned Sep 25, 2026

# ===================================================================================================================
# READ THIS NOTICE BEFORE YOU PROCEED
# ===================================================================================================================
# This is an example docker compose file for running Nextcloud with Memories.
# This file is provided as an example only and is not intended to be used as-is.
# You will need all files in this directory for the example to work.
#
# The example assumes the existence of two disks, hdd and ssd.
# You can replace both with a single mount point if you don't have separate disks.
#
# 1. Make sure all placeholders are replaced with the correct values.
#    Choose a strong password for the database.
# 2. Use an appropriate nginx.conf, and adjust it according to your needs.
#    If you intend to use a second reverse proxy for TLS, you can use this example:
#    https://github.com/nextcloud/docker/blob/master/.examples/docker-compose/insecure/mariadb/fpm/web/nginx.conf
#    In the example below, Nextcloud will be exposed on port 8500
# 3. Make sure the Dockerfile uses the Nextcloud version you want to see
#    To update Nextcloud, you can simply change the version and run `docker compose build`
# 4. The preview generator cron job is pre-configured, but you still need to install the app
#    and do the initial generation run. https://github.com/nextcloud/previewgenerator
# ===================================================================================================================

services:
  db:
    image: mariadb:11
    restart: always
    pull_policy: always
    command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --log_bin_trust_function_creators=1
    volumes:
      - /ssd/nextcloud_mariadb:/var/lib/mysql
    environment:
      - MYSQL_ROOT_PASSWORD=my_root_password
      - MYSQL_PASSWORD=my_password
      - MYSQL_DATABASE=nextcloud
      - MYSQL_USER=nextcloud
      - MARIADB_AUTO_UPGRADE=1
      - MARIADB_INITDB_SKIP_TZINFO=1

  redis:
    image: redis:alpine
    pull_policy: always
    restart: always

  app:
    build: .
    restart: always
    depends_on:
      - db
      - redis
    volumes:
      - /ssd/nextcloud:/var/www/html
      - /hdd/nextcloud_data:/var/www/html/data

      # Once Nextcloud is installed, you may move the app data folder to a faster storage
      # and mount it here. This is optional, but recommended for better performance.
      # The <instanceid> will depend on the particular Nextcloud instance.
      # You will then need to make the same change in the cron service below.
      # - /ssd/nc_appdata_<instanceid>:/var/www/html/data/appdata_<instanceid>
    environment:
      - NEXTCLOUD_TRUSTED_DOMAINS=my.nextcloud.domain
      - TZ=America/Los_Angeles
      - MYSQL_PASSWORD=my_password
      - MYSQL_DATABASE=nextcloud
      - MYSQL_USER=nextcloud
      - MYSQL_HOST=db
      - REDIS_HOST=redis
      - OVERWRITEPROTOCOL=https
      - PHP_MEMORY_LIMIT=1G
      - PHP_UPLOAD_LIMIT=12G
      - DEBIAN_FRONTEND=noninteractive

  web:
    image: nginx:alpine
    pull_policy: always
    restart: always
    depends_on:
      - app
    ports:
      - 127.0.0.1:8500:80
    volumes:
      - /ssd/nextcloud:/var/www/html:ro
      - ./nginx.conf:/etc/nginx/nginx.conf:ro

  go-vod:
    image: radialapps/go-vod
    pull_policy: always
    restart: always
    init: true
    depends_on:
      - app
    healthcheck:
      test: ["CMD-SHELL", "curl -f http://localhost:47788/health || exit 1"]
      interval: 30s
      timeout: 5s
      retries: 3
      start_period: 30s
    environment:
      - NEXTCLOUD_HOST=https://your-nextcloud-url
      # - NEXTCLOUD_ALLOW_INSECURE=1 # (self-signed certs or no HTTPS)
      - NVIDIA_VISIBLE_DEVICES=all

    volumes:
      - /hdd/nextcloud_data:/var/www/html/data:ro

    # Uncomment the following lines for QSV / VA-API:
    # devices:
    #  - /dev/dri:/dev/dri

    # Uncomment the following lines for NVENC
    # runtime: nvidia

This file may be out of date. Check the Nextcloud Memories documentation for current setup steps.

Track your self-hosted stack

Bookmark software to try, rate tools you've used, and keep your collection in one place.

Metadata extracted from README on Sep 1, 2026

Related Software

PhotoPrism logo

PhotoPrism

40.4k
An AI-powered photo and video library for browsing, organizing, searching, and sharing media privately.
Photo GalleriesFOSS with IssuesCopyleft License+4
13 ContainersOpen CoreFOSS with Issues
Details
ChronoFrame logo

ChronoFrame

2.0k
A self-hosted web application for photo display and management with map-based browsing, EXIF parsing, and multi-format image support.
Photo GalleriesPermissive LicenseMedia Management+3
Details
Damselfly logo

Damselfly

1.8k
Damselfly is a server-based digital photo management system for managing large folder-based photo collections with fast search, tagging, and AI-assisted recognition.
Photo GalleriesMedia ManagementArtificial Intelligence+4
Details
Mejiro logo

Mejiro

184
Pellicola is a PHP web app for instant photo publishing and browsing.
Photo GalleriesMedia ManagementWeb Servers+3
Details
Immich Kiosk logo

Immich Kiosk

1.7k
Highly configurable slideshows for displaying Immich assets on browsers and devices.
Photo GalleriesMedia ManagementSelf Hosting Solutions+2
Single Container
Details
ClipBucket logo

ClipBucket

183
ClipBucket V5 is a PHP-based video sharing platform for launching a YouTube/Netflix-like site with playlists, collections, private messaging, and photo/video hosting.
Multimedia StreamingMedia ServersMedia Management+4
Details
SPIS logo

SPIS

211
spis is a lightweight private image server for browsing and managing media hosted on a private server.
Photo GalleriesMedia ManagementMedia Servers+2
Details
Chevereto logo

Chevereto

1.0k
Chevereto is a self-hosted media-sharing platform for building and managing image and video sharing websites.
Photo GalleriesMedia ServersMedia Management+3
Open Core
Details
Immich logo

Immich

117.1k
High performance self-hosted photo and video management solution.
Photo GalleriesCopyleft LicenseMedia Management+1
6 Containers
Details
LibrePhotos logo

LibrePhotos

8.1k
LibrePhotos is a self-hosted photo management service with face recognition, object detection, and semantic search.
Photo GalleriesMedia ManagementArtificial Intelligence+2
Details
PiGallery 2 logo

PiGallery 2

2.3k
PiGallery2 is a fast, directory-first photo gallery website optimized for low-resource servers like Raspberry Pi.
Photo GalleriesMedia ManagementSelf Hosting Solutions+1
2 Containers
Details
Chibisafe logo

Chibisafe

2.8k
Chibisafe is a self-hosted file uploader service that generates shareable links for uploaded files, photos, documents, and other content.
Simple File UploadsFile & Object StorageMedia Management+5
Details