Deploy to coolify using docker-compose.yml
By default, notes are stored at /home/ubuntu/notes-data on the server.
To change the notes storage location, edit the docker-compose.yml file:
services:
init-notes:
volumes:
- /your/path:/notes-data # Change this path
web-note:
volumes:
- /your/path:/var/www/html/_tmp # Change this path (must match init-notes)Example: Store notes at /data/my-notes
services:
init-notes:
volumes:
- /data/my-notes:/notes-data
web-note:
volumes:
- /data/my-notes:/var/www/html/_tmpAfter deployment, SSH into the server and view notes directly:
# List all notes
ls -la /home/ubuntu/notes-data/
# View content of a note
cat /home/ubuntu/notes-data/<filename>
# Backup notes
tar -czf notes-backup.tar.gz /home/ubuntu/notes-data/