Memos
This service deploys Memos, a privacy-first, lightweight note-taking service. Easily capture and share your great thoughts.
Services
memos: The Memos note-taking service.
Configuration
MEMOS_VERSION: The version of the Memos image, default is0.25.3.MEMOS_PORT_OVERRIDE: The host port for Memos, default is5230.MEMOS_MODE: Server mode (dev,prod, ordemo), default isprod.MEMOS_ADDR: Server address, default is0.0.0.0.MEMOS_PORT: Server port inside the container, default is5230.MEMOS_DATA: Data directory path inside the container, default is/var/opt/memos.MEMOS_DRIVER: Database driver (sqlite,postgres, ormysql), default issqlite.MEMOS_DSN: Database connection string (required for PostgreSQL or MySQL).MEMOS_INSTANCE_URL: Public URL of your Memos instance (optional).
Volumes
memos_data: A volume for storing Memos data.
Usage
Quick Start with SQLite (Default)
-
Start the service:
docker compose up -d -
Access Memos at
http://localhost:5230.
Using PostgreSQL or MySQL
To use PostgreSQL or MySQL instead of SQLite:
-
Edit
.envfile and set:MEMOS_DRIVER=postgres # or mysql MEMOS_DSN=postgres://user:password@host:port/dbname?sslmode=disable -
Start the service:
docker compose up -d
First-Time Setup
After starting Memos for the first time:
- Open
http://localhost:5230in your browser. - Create your admin account.
- Start taking notes!
Data Persistence
All data is stored in the memos_data volume, which persists across container restarts and upgrades.
Updates
To update Memos:
- Edit
.envand changeMEMOS_VERSIONto the desired version. - Restart the service:
docker compose down
docker compose pull
docker compose up -d
Official Documentation
License
Memos is licensed under the MIT License.