Install Memos on Ubuntu 24.04

Install Docker

$mkdir memos
$cd memos
$sudo nano docker-compose.yml

services:
  memos:
    image: neosmemo/memos:stable
    container_name: memos
    volumes:
      - ~/.memos/:/var/opt/memos
    ports:
      - 5230:5230

#first port is outside (change if needed), second port is for container

$sudo docker compose up -d

Set up nginx reverse proxy

Set up let's encrypt