Here is the docker compose file I used to get myself started.

version: "3.0"
services:
  memos:
    image: ghcr.io/usememos/memos:latest
    container_name: memos
    volumes:
      - /home/docker/memos/:/var/opt/memos
    ports:
      - 5230:5230