HUB
Sign inSign up
memos logo

11notes/memos

By 11notes

•Updated 2 days ago

run Memos rootless and distroless.

Image
Buildkit cache
0

5.6K

11notes/memos repository overview

banner

⁠MEMOS

size5pxpulls5px5pxswiss_made

run Memos rootless and distroless.

⁠INTRODUCTION 📢

A modern, open-source, self-hosted knowledge management and note-taking platform designed for privacy-conscious users and organizations. Memos provides a lightweight yet powerful solution for capturing, organizing, and sharing thoughts with comprehensive Markdown support and cross-platform accessibility.

DASHBOARD

⁠SYNOPSIS 📖

What can I do with this? This image will run memos rootless⁠ and distroless⁠, for maximum security and performance. For infos on how to setup memos with OIDC consult their documentation⁠.

⁠UNIQUE VALUE PROPOSITION 💶

Why should I run this image and not the other image(s) that already exist? Good question! Because ...

  • ... this image runs rootless⁠ as 1000:1000
  • ... this image has no shell since it is distroless⁠
  • ... this image is auto updated to the latest version via CI/CD
  • ... this image has a health check
  • ... this image runs read-only
  • ... this image is automatically scanned for CVEs before and after publishing
  • ... this image is created via a secure and pinned CI/CD process

If you value security, simplicity and optimizations to the extreme, then this image might be for you.

⁠VOLUMES 📁

  • /memos/var - Directory of all uploaded data

⁠COMPOSE ✂️

name: "memos"

x-lockdown: &lockdown
  # prevents write access to the image itself
  read_only: true
  # prevents any process within the container to gain more privileges
  security_opt:
    - "no-new-privileges=true"

services:
  app:
    depends_on:
      postgres:
        condition: "service_healthy"
        restart: true
    image: "11notes/memos:26.11.1"
    <<: *lockdown
    environment:
      TZ: "Europe/Zurich"
      MEMOS_DSN: "postgresql://postgres:${POSTGRES_PASSWORD}@postgres:5432/postgres?sslmode=disable"
    volumes:
      - "memos.var:/memos/var"
    ports:
      - "3000:5230/tcp"
    networks:
      frontend:
      backend:
    restart: "always"

  postgres:
    # for more information about this image checkout:
    # https://github.com/11notes/docker-postgres
    image: "11notes/postgres:18"
    <<: *lockdown
    environment:
      TZ: "Europe/Zurich"
      POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}"
    networks:
      backend:
    volumes:
      - "postgres.etc:/postgres/etc"
      - "postgres.var:/postgres/var"
      - "postgres.backup:/postgres/backup"
    tmpfs:
      - "/postgres/run:uid=1000,gid=1000"
      - "/postgres/log:uid=1000,gid=1000"
    restart: "always"

volumes:
  memos.var:
  postgres.etc:
  postgres.var:
  postgres.backup:

networks:
  frontend:
  backend:
    internal: true

To find out how you can change the default UID/GID of this container image, consult the RTFM⁠.

⁠DEFAULT SETTINGS 🗃️

ParameterValueDescription
userdockeruser name
uid1000user identifier⁠
gid1000group identifier⁠
home/memoshome directory of user docker

⁠ENVIRONMENT 📝

ParameterValueDefault
TZTime Zone⁠
DEBUGWill activate debug option for container image and app (if available)
MEMOS_MODEMode of operation (prod, dev or demo)prod
MEMOS_ADDRIP to listen on0.0.0.0
MEMOS_PORTPort to listen on5230
MEMOS_DATAData directory to store files/memos/var
MEMOS_DRIVERBackend driver to use (postgres, sqlite and mysql)postgres

⁠MAIN TAGS 🏷️

These are the main tags for the image. There is also a tag for each commit and its shorthand sha256 value.

⁠There is no latest tag, what am I supposed to do about updates?

It is my opinion that the :latest tag is a bad habbit and should not be used at all. Many developers introduce breaking changes in new releases. This would messed up everything for people who use :latest. If you don’t want to change the tag to the latest semver⁠, simply use the short versions of semver⁠. Instead of using :26.11.1 you can use :26 or :26.11. Since on each new version these tags are updated to the latest version of the software, using them is identical to using :latest but at least fixed to a major or minor version. Which in theory should not introduce breaking changes.

If you still insist on having the bleeding edge release of this app, simply use the :rolling tag, but be warned! You will get the latest version of the app instantly, regardless of breaking changes or security issues or what so ever. You do this at your own risk!

⁠REGISTRIES ☁️

docker pull 11notes/memos:26.11.1
docker pull ghcr.io/11notes/memos:26.11.1
docker pull quay.io/11notes/memos:26.11.1

⁠SOURCE 💾

⁠PARENT IMAGE 🏛️

This image is not based on another image but uses scratch⁠ as the starting layer. The image consists of the following distroless layers that were added:

⁠BUILT WITH 🧰

⁠GENERAL TIPS 📌

  • Use a reverse proxy like Traefik, Nginx, HAproxy to terminate TLS and to protect your endpoints
  • Use Let’s Encrypt DNS-01 challenge to obtain valid SSL certificates for your services

⁠ElevenNotes™️

This image is provided to you at your own risk. Always make backups before updating an image to a different version. Check the releases⁠ for breaking changes. If you have any problems with using this image simply raise an issue⁠, thanks. If you have a question or inputs please create a new discussion⁠ instead of an issue. You can find all my other repositories on github⁠.

created 16.11.2026, 20:45:02 (CET)

Tag summary

Content type

Image

Digest

sha256:30cad9b0b…

Size

42.3 MB

Last updated

2 days ago

docker pull 11notes/memos:26.11.1-nobody