Access
- Web UI:
https://<server-ip> - Sign up and create an account immediately after first access.
- Registration can be restricted later from the application settings.
Important Files and Directories
- Application directory:
/root/many-notes/ - Docker Compose file:
/root/many-notes/docker-compose.yml - Database volume:
/var/lib/docker/volumes/many-notes_database/_data - Logs storage:
/var/lib/docker/volumes/many-notes_logs/_data - Private app data:
/var/lib/docker/volumes/many-notes_private/_data - Typesense data:
/var/lib/docker/volumes/many-notes_typesense/_data - Nginx site config:
/etc/nginx/sites-available/many-notes - SSL certificates:
/etc/nginx/ssl/
Service Management
Docker:
cd /root/many-notes
docker compose ps
docker compose restart
docker compose logs -f
Nginx:
systemctl status nginx
systemctl restart nginx
Enabling SSL with a Domain
1. Point your domain to the server IP.
2. Edit the /root/eigenfocus/docker-compose.yml file to set your domain name: APP_URL=https://your.domain.com
3. Recreate the services:
cd /root/many-notes/
docker compose up -d
4. Edit Nginx config and replace both server_name <IP>; with your domain (<your-domain>) for both HTTP (port 80) and HTTPS (port 443) blocks:
vim /etc/nginx/sites-available/many-notes
5. Install Certbot:
apt install -y certbot python3-certbot-nginx
6. Run the following command to generate a valid Let’s Encrypt certificate:
certbot certonly --nginx --non-interactive --agree-tos --email [email protected] -d yourdomain.com
7. Replace SSL paths in Nginx config (TLS section):
vim /etc/nginx/sites-available/many-notes
# Before:
# ssl_certificate /etc/nginx/ssl/fullchain.pem;
# ssl_certificate_key /etc/nginx/ssl/privkey.pem;
# After:
# ssl_certificate /etc/letsencrypt/live/yourdomain.com/fullchain.pem;
# ssl_certificate_key /etc/letsencrypt/live/yourdomain.com/privkey.pem;
8. Restart Nginx to apply the changes:
systemctl restart nginx
9. Open your browser and visit: https://yourdomain.com
