Skip to main content

Deploy Memos

Before using the one-click template, here is a minimal Docker Compose file for self-hosting Memos.

If you're new to Docker Compose, check out our guide on how to self-host a Docker Compose app. You can also browse more examples in our Docker Compose library.

Self-host Memos with Docker Compose (minimal)

services:
memos:
image: usememos/memos:latest
ports:
- "5230:5230"
environment:
MEMOS_DRIVER: mysql
MEMOS_DSN: memos:memospass@tcp(db:3306)/memos


db:
image: mysql:8
environment:
MYSQL_ROOT_PASSWORD: rootpass
MYSQL_DATABASE: memos
MYSQL_USER: memos
MYSQL_PASSWORD: memospass
volumes:
- dbdata:/var/lib/mysql

volumes:
dbdata:

Deploy Memos on Hostim.dev (One-Click)

Memos is a self-hosted, minimalist note-taking app – like a lightweight Notion or personal wiki. With Hostim.dev, you can deploy Memos with Docker, MySQL, persistent storage, and HTTPS in under a minute.

📝 Take notes. Self-host them. Share anywhere – without setting up a server.

Try it Yourself

Guest project runs for 1 hour. Log in to save and extend to 5 days.

Why Host Memos on Hostim.dev?

  • One-click Docker deployment
  • Built-in MySQL
  • Instant HTTPS + domain
  • Real-time logs & metrics
  • Persistent storage for all notes

What's included

ResourceDetails
Appusememos/memos image
DatabaseMySQL (auto-provisioned)
DomainFree *.hostim.dev subdomain
SSLLet’s Encrypt (auto-enabled)
Port5230

How to Deploy

  1. Go to your Hostim.dev dashboard.
  2. Click Create ProjectUse a Template.
  3. Select Memos.
  4. Choose a resource plan.
  5. Deploy.

FAQ

Where does Memos store notes and attachments?

All notes and attachments are stored in the MySQL database.

Does Memos require MySQL?

Yes. The official image supports MySQL or SQLite; the Hostim template uses MySQL.

How do I set the database connection?

Update MEMOS_DRIVER and MEMOS_DSN under Environment Variables if changing DB settings.

How do I back up Memos?

Back up the MySQL database through the Bastion host.

How do I upload files?

Upload images or attachments directly inside the editor; files are stored in the MySQL database.

Can I access Memos via a custom domain?

Yes. Add a domain under Networking → Domains.

How do I update Memos?

Docker: docker compose pull && docker compose up -d Hostim.dev: redeploy the app.

Why can't I log in?

Ensure MySQL is running and the DSN is correct.


Alternatives

  • Actual — lightweight personal knowledge manager
  • Logseq — open-source notes with graph view
  • Joplin Server — sync backend for Joplin notes

Source + Docs


Looking for something else? Browse all templates →


Try it now

Deploy Memos Now – in less than 60 seconds