Web Access
- Open your browser and navigate to your Memos instance:
http://<SERVER_IP> - On first visit, you’ll see a setup screen. Create your admin account.
- The first user created automatically becomes the administrator. Make sure to use a strong password!
Important Files and Directories
/root/memos/docker-compose.yml→ Docker Compose definition/var/lib/docker/volumes/memos_postgres_data→ Persistent data/etc/nginx/sites-available/memos.conf→ Reverse proxy configuration
Docker Management Commands
cd /root/memos
docker ps # List running containers
docker compose logs -f # Follow logs
docker compose restart # Restart service
Domain & SSL Setup
Point your domain to the server IP.
Edit Nginx config:
vim /etc/nginx/sites-available/memos.conf
Replace server_name _; with server_name <your-domain>;
Install Certbot:
apt install -y certbot python3-certbot-nginx
Run Certbot to issue SSL certificate:
certbot --nginx --non-interactive --agree-tos --email <your-email> -d <your-domain>
Test and reload Nginx:
sudo nginx -t
sudo systemctl reload nginx
Open in browser: https://<your-domain>
